Quantcast
Channel: Forum CRM Deployment
Viewing all articles
Browse latest Browse all 997

CRM Detecting Reboot

$
0
0

When the installer runs and it detects that a reboot is required, what method is it using to detect that?

I'm writing a script to deploy CRM 2011 and I keep running into a scenario where the SetupClient /Q will run silently but it shows that it immediately stops. In the logs, it states that it is detecting that a reboot is required. The easy answer here is to make the user reboot but I'd like to put some logic in the script that'll detect if a reboot is required and if so, it won't try and run. In the script, I can have it check that same regkey or whatever it may be and postpone the install until the computers been rebooted. I can program that logic without issue but I'm having trouble finding what regkey (or some other method) that the installer is checking to see if a reboot is required. Any ideas what it may be looking at? I've checked the two locations in the registry (below) that I'm aware of so I'm thinking maybe its checking WMI?

"HKLM\SYSTEM\CurrentControlSet\Control\Session Manager","PendingFileRenameOperations"

"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update", "RebootRequired"


Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>