Hi, I am creating a installer and for which I need to copy few files to system32 and I am trying to do that through batch file. Please help.
If I do the same thing ie copying file to system32 by opening command prompt in elevated mode, i copies...but when i run my batch it doesnot...and I need to do that through batch only...
July 4th, 2010 8:55pm

How does it work if you run your batch file as administrator? To do so, please create a shortcut for the batch file and configure to run as administrator. Another way is use the following command to open the batch file. runas /user:[username] /savecred [file path] You can refer: Windows7 elevated command prompt priviledges throug a script
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2010 9:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics