kercyr Posted February 25, 2016 Posted February 25, 2016 On Windows 7 Pro 64 bits, I try to build a script_B to be executed at Shutdown. with local Policy without AD. With GPedit.msc, the script_B at shutdown is executed with success. With a script_A, using the command "reg import", the script_B is not executed at shutdown and there is no trace of defect or error, and no log. When I check the registry, eveything is done on 64 bits and 32 bits parts both (wow6432node). -- Contents of the REG file : ---------------------------------------------------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0] "GPO-ID"="LocalGPO" "SOM-ID"="Local" "FileSysPath"="C:\\Windows\\System32\\GroupPolicy\\Machine" "DisplayName"="Stratégie de groupe locale" "GPOName"="Stratégie de groupe locale" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0\0] "Script"="c:\\windows\\system32\\cmd /C C:\\script_B.CMD" "Parameters"="" "ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 ------------------------------------------------------------------------------------------------
kercyr Posted February 29, 2016 Author Posted February 29, 2016 On lundi 9 février 2009 at 6:30 PM, SoulA said: This code works great on Windows XP but not on Vista. Any ideas how to get something like this to work on Vista machines? On mercredi 9 avril 2014 at 9:14 PM, JohnOne said: Out of curiosity, Why? On samedi 12 avril 2014 at 1:24 PM, j0kky said: Sorry but it is definetly not what I'm looking for!
kercyr Posted February 29, 2016 Author Posted February 29, 2016 Hello, Someone is able to propose a fix ? Regards,
j0kky Posted February 29, 2016 Posted February 29, 2016 Why have you tagged me? Spoiler Some UDFs I created: Winsock UDF STUN UDF WinApi_GetAdaptersAddresses _WinApi_GetLogicalProcessorInformation Bitwise with 64 bit integers An useful collection of zipping file UDFs
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