Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When i run reskeymgmt.exe - to create a backup copy of the encryption key, it responses

"Are you sure want to extract the key from the Report Server? Yes (y)/ No (n)?"

I found this link which helps me to automate the execution of reskeymgmt commmand in windows xp and server 2003. The suggestion looks like:

rskeymgmt -e -f a:\backupkey\keys -p "password" < "C:\Yes.txt"

But when i move to windows server 2008, this tip won't work because the command prompts the confirmation in another console.

Does anyone knows a trick to fix this issue in windows server 2008?


share|improve this question

migrated from Nov 18 '11 at 11:05

This question came from our site for professional and enthusiast programmers.

Per here,

You could try using a pipe:

echo Y | rskeymgmt [parameters]

share|improve this answer
it doesn't work. A confirmation window still pop-ups – linh dinh Aug 25 '11 at 9:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.