Question : Windows 2003 domain logon scrip for Vista client

Hi, im looking for the logon script that will rename following files:
%systemroot%\inf\usbstor.inf
%systemroot%\inf\usbstor.pnf
to usbstore.inf.bak and usbstore.pnf.bak

Also in the script i need  to have a reg key value changed for the following key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000003 to 00000004

Just as reminder that users do not have a neccesary rights to rename or change a reg kay so in the script can be used a local credentials of admin account or some domain account that have a rights.
Thanks

Answer : Windows 2003 domain logon scrip for Vista client

Install runasspc into a share at the server (simple and small, just an extraction).
\\server\share\runasspc /cryptfile:\\server\share\yourcrypt.spc /quiet
Inside the cryptfile (which you will have to generate using runasspcadmin.exe), you store which batch to start with what credentials.
Random Solutions  
 
programming4us programming4us