Discussion Locked

running a registry logon script

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I have winnt4.0 platform w/win95&98 clients
I'm trying to run a registry script which I called setup.reg.This will make changes to their machine in their registry. I put the script in the netlogon share on the pdc & the bdc. The problem I seem to be having is it is not being read at all. I would also like to do this in the silent mode so thay won't even know this is being done to their computer. I put the setup.reg in place of where I was running the logon script. But it does not work..The logon script works. But when I remove it and put setup.reg it does not work. Any help would be appreciated. Thank you in advance.

5 replies

by cdcents

This would depend on how you are referencing the .reg file. Try
regedit /s \\pdc\netlogon\setup.reg
It could be just a missing or incorrect path. Alternatively you could use the REG.EXE utility that comes with the Windows 2000 Resource Kit.

by curlergirl

Use the Reg.exe program from the NT Resource Kit. If you just try to run regedit from the login script, your users will be required to click OK on a message that the registry is being edited. I believe reg.exe allows you to bypass this. Hope thishelps!

This discussion is closed to new replies.