anixon Posted March 20, 2007 Share Posted March 20, 2007 I have no experience using AutoIT to write processing instructions to Windows Registry. By way of background to have windows Start a logon or logoff process you run gpedit.msc and configure Local Computer Policy\User Configuration \Windows Settings\Scripts\Startup to register the executable script. I am sure that it is possible to write a script that will run the gpedit.msc process and send it the appropriate configuration information which is one way of tackling the issue. Has anyone written a script that performs this process? A search of Regedit indicates that the AutoIT program appears in a number of locations: For example: HKEY_CURRENT_USER/Software/Policies/Microsoft/Windows/System/Scripts/Logoff/0/0 Default = "" Exectime = 000 00 00 00 00 00 00 00 00 008 00 00 00 00 00 00 00 00 0010 Parameters = "" Script = c:\programs\test\logoff.exe HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Group Policy/STate/S-1-5-21 nnnnnn (several directories)/Scripts/Logoff/0/0 Default = "" Exectime = 000 D7 07 01 00 04 00 04 00 x 008 16 00 08 00 18 00 48 01 H Parameters = "" Script = c:\programs\test\logoff.exe Help is always appreciated Ant.. 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