March 30th, 2009, 11:57 AM
|
#1 (permalink)
|
| Member
Join Date: Sep 2002 Location: Shirley, New York
Posts: 257
|
Hi,
I am trying to create a batch file to do some backup and restoring of data on computers at my company. However, I need to export from the registry the network drives and printer connections that exist. Not everyone has access to the registry so I want to create a batch file that can store the username and password which will then be converted to an exe for protection.
I found this command on the internet but its not working and am hoping someone could help.
runas /noprofile /user  OMAIN\USERNAME PASSWORD "regedit /e c:\backup\netdrv.reg HKEY_CURRENT_USER\NETWORK"
Any help you can provide is greatly appreciated. Thanks |
| |