Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sql-server-2017] Pending reboot causes installer to fail #28

Open
flcdrg opened this issue May 14, 2018 · 2 comments
Open

[sql-server-2017] Pending reboot causes installer to fail #28

flcdrg opened this issue May 14, 2018 · 2 comments

Comments

@flcdrg
Copy link
Owner

flcdrg commented May 14, 2018

Should detect pending reboot and fail package up front, rather than waiting for setup.exe to die

See https://gist.github.com/jasonsschin/aa70d069547edd444c0db0e919d81d2d for an example

Look at using https://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542 to detect pending reboot

@jasonsschin
Copy link

jasonsschin commented May 17, 2018

PS C:\Users\vagrant> Get-PendingReboot
Running the suggested Pending reboot script above, results in the following output:

---- Start output ---

Computer : VM-DEV18
CBServicing : False
WindowsUpdate : False
CCMClientSDK :
PendComputerRename : False
PendFileRename : True
PendFileRenVal : {??\C:\Windows\AppCompat\Programs\Amcache.hve.tmp,
!??\C:\Windows\AppCompat\Programs\Amcache.hve}
RebootPending : True

---- End output ---

This is a viable check which could be included in the package.

@FRacine
Copy link

FRacine commented Jun 5, 2018

I have the exact same issue. On many sccm applications we are detecting pending reboot before installing software. It is working correctly since years. Since a month we have the pending file rename you ar e showing and our applications are not installing.

Even after a reboot this poending is remove but on SCCM deployment we are getting it back.

Do you have more informations on your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants