Highlighted
Absent Member.
Absent Member.
859 views

Reboot after upgrade of Agent to 11.4.3 NOT happening

we are upgrading our clients to 11.4.3 (from 11.3.2, 11.4.0, 11.4.1, 11.4.2)

Problems:
- if user is logged in but screen is locked a reboot is NOT done - in earlier ZCM versions a reboot was done
- if NO user is logged in a reboot is NOT done and the next Login takes ages (> 5 minutes) further logins are ok

I have found the following registry key in the documentation:
reg add HKCU\Software\Novell\zcm\SystemUpdate /v WaitForDesktopToUnlock /t REG_SZ /d False /f
However it works only if a user is logged in since it is HKCU.

I tried that key with HKLM - but I see in system-update.log at the end:
[INFO] [11.23.2016 13:37:22.924] [INSTALLING_PERCENTAGE] [INSTALLING] [100] [] [] [ZENworks]
[INFO] [11.23.2016 13:37:22.955] [AWAITING_REBOOT] [AWAITING_REBOOT] [] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:37:22.955] [No Update watchers are running...will control reboot from the updater] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:37:22.955] [No watcher instance running...] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:52:23.196] [Still waiting for user to log on.] [] [] [ZENworks]
[DEBUG] [11.23.2016 14:07:23.426] [Still waiting for user to log on.] [] [] [ZENworks]

Loggin in at 14:26 took until 14:32 until desktop was visilbel and 1st message was: ZENworks-Rebot required ...

How can I force a reboot if no user is logged in? Or do I have to set the HKCU key to System / or any other registry entry? possibly "HKU\S-1-5-18\Software\Novell\ZCM" ?
Labels (2)
0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

#1 - Try Setting the key under HKEY_USERS\.DEFAULT\Software..................
HKEY_USERS\.DEFAULT is the HKCU Portion of the Registry for SYSTEM and (Pre-Logon)

No Clue if ZCM would honor this key for this purpose, since possible it may be read by a process only running if a user is logged on running as logged on user.


BachmannK;2444973 wrote:
we are upgrading our clients to 11.4.3 (from 11.3.2, 11.4.0, 11.4.1, 11.4.2)

Problems:
- if user is logged in but screen is locked a reboot is NOT done - in earlier ZCM versions a reboot was done
- if NO user is logged in a reboot is NOT done and the next Login takes ages (> 5 minutes) further logins are ok

I have found the following registry key in the documentation:
reg add HKCU\Software\Novell\zcm\SystemUpdate /v WaitForDesktopToUnlock /t REG_SZ /d False /f
However it works only if a user is logged in since it is HKCU.

I tried that key with HKLM - but I see in system-update.log at the end:
[INFO] [11.23.2016 13:37:22.924] [INSTALLING_PERCENTAGE] [INSTALLING] [100] [] [] [ZENworks]
[INFO] [11.23.2016 13:37:22.955] [AWAITING_REBOOT] [AWAITING_REBOOT] [] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:37:22.955] [No Update watchers are running...will control reboot from the updater] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:37:22.955] [No watcher instance running...] [] [] [ZENworks]
[DEBUG] [11.23.2016 13:52:23.196] [Still waiting for user to log on.] [] [] [ZENworks]
[DEBUG] [11.23.2016 14:07:23.426] [Still waiting for user to log on.] [] [] [ZENworks]

Loggin in at 14:26 took until 14:32 until desktop was visilbel and 1st message was: ZENworks-Rebot required ...

How can I force a reboot if no user is logged in? Or do I have to set the HKCU key to System / or any other registry entry? possibly "HKU\S-1-5-18\Software\Novell\ZCM" ?
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
Highlighted
Absent Member.
Absent Member.

Good idea

But I have now noticed that even the HKCU key does not work. So if a user is logged in and screen is locked, a reboot never happens. Only after unlocking the screen the user gets prompted to reboot - or wait for timeout.

I opened SR101038646261 and see what I can find out.

Klaus
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Thanks! The Locked Screen does not surprise me, Windows itself could easily be preventing things there.....the fact we have keys seems odd and wonder if they were really tested and even a valid use case.

Clearly, There needs to be a way to make this work w/o a user logged in.
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.