January 12, 200719 yr I want to put in a log off script for user's local computer.I know where to put the files for a logoff script, however, I need to know (and I am assuming this will be done through the registry) how to enable the Group Policy for the user's log off script.
January 12, 200719 yr Author start, run, gpedit.mscuserconfig, windows settings, logon/logoff scriptsthanks, but how do I automate this through an unattended install?
January 19, 200719 yr Run a Registry Scanner, something where you can take a snapshot before and after, then you can get the registry settings from that.
January 20, 200719 yr As far as I can tell, a logoff (and logon) script is added to this registry key:[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\Scripts\Logoff]"Script"="logoff.cmd""Parameters"="""ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\Scripts\Logon]"Script"="logon.cmd""Parameters"="""ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00Scripts must be in $OEM$\$$\System32\GroupPolicy\User\Scripts\Logon and \Logoff
Create an account or sign in to comment