metalguy90 Posted January 12, 2007 Share Posted January 12, 2007 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. Link to comment Share on other sites More sharing options...
bledd Posted January 12, 2007 Share Posted January 12, 2007 start, run, gpedit.mscuserconfig, windows settings, logon/logoff scripts Link to comment Share on other sites More sharing options...
metalguy90 Posted January 12, 2007 Author Share Posted January 12, 2007 start, run, gpedit.mscuserconfig, windows settings, logon/logoff scriptsthanks, but how do I automate this through an unattended install? Link to comment Share on other sites More sharing options...
hazard_abio Posted January 19, 2007 Share Posted January 19, 2007 Run a Registry Scanner, something where you can take a snapshot before and after, then you can get the registry settings from that. Link to comment Share on other sites More sharing options...
mc134 Posted January 20, 2007 Share Posted January 20, 2007 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now