AeXPatchUtil.exe hangs right after a reboot.
Hello,
I am using command line "AeXPatchUtil.exe /C /Xa" in a run reg key
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\"
"tst1"="C:\\Program Files\\Altiris\\Altiris Agent\\Agents\\PatchMgmtAgent\\AeXPatchUtil.exe /C /Xa"
For many reasons, our politics is to reboot a server before patching it to validate that is reboots sucessfuly before applying any patches. Also, admins are patching servers one by one when server's backup is complete.
Since reboot and verifications are done in a script, I'm trying to use "AeXParchUtil.exe" command line to initiate the PM process right after reboot.
The problem is that right after the reboot, Patch Management seems not to be ready and AeXPatchUtil.exe hangs and never start.
I used a wise script to wait for NS Agent service to start but it's not enough.
Is there a registry key or an other item that I could base on to be sure that the PM is ready?
RJ
Comments
If you do wait, does the
If you do wait, does the "AeXPatchUtil.exe /C /Xa" command work anyway?
Yes, if I wait, it works. I
Yes, if I wait, it works.
I tried once to put it in a batchfile and to call it from Startup instead and it worked too.
I could also put a delai but if I had a regkey or a thread or a process that would tell me that it is ready, It would be a little more safer. I need it to be solid rock.
RJ
Would you like to reply?
Login or Register to post your comment.