[Samba] Logon Script - edit registry

Jan Kellerhoff kelly at visthetic.com
Wed Mar 9 17:40:44 GMT 2005

There is the issue with permissions, but you may use cpau.exe it is like
"runas " but more features, then run it as the local system account.
It works fine, here is an example like I used it.
For the systemaccountpassword enter an empty space....

%windir%\system32\cpau -u localhost\system -p  -ex "reg DELETE
HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Information Update /f"


More information about the samba mailing list