Pending reboot during connecting computer to SBS 2011 Essentials

Just got a  shiny new IBM Carbon computer and was trying to join it to the domain throught the connect computer wizard on their SBS 2011 Essentials. It stopped right away with «A pemding reboot is preventing you from installting the connector software». Ok, I will just have to reboot. So I did. But the same error happened again. and again. I checked the classic PendingFileRenameOperations in the registry and I found some depending reboots there. But each time i deleted this it just came back! So, what was causing this..? Well, the file it referred to was this: wpro_41_2001woem.tmp

After a few seconds with my friend google it seems to be related with the WinPap professional software which is used to capture client/network traffic. But I couldn’t find this software on the computer but after some googling it seems that this file is a part of the Intel Smart Connect software. After deleting this software, and a reboot, the PendingFileRenameOperations was gone and the computer could join the domain just fine.

Here is also a little vb-script which you can save to a .vbs file and run with «wscript.exe nameoffile.vbs» in an elevated cmd.exe which will show you files which have a lock during a pending reboot.

‘———————————————————————
‘Name: CheckPendingFileRenameOperations
‘Programmer: Tom Mills/Microsoft Corp.
‘Date: 8/14/2008
‘Purpose: Checks registry key for pending file rename operations
‘Notes: None
‘———————————————————————

CONST HKEY_LOCAL_MACHINE = &H80000002

strComputer = «.»
strFileOps = «»

Set objReg=GetObject(«winmgmts:{impersonationLevel=impersonate}!\»&_
strComputer & «rootdefault:StdRegProv»)

strKeyPath = «SYSTEMCurrentControlSetControlSession Manager»

strValueName = «PendingFileRenameOperations»

Return = objReg.GetMultiStringValue(HKEY_LOCAL_MACHINE,strKeyPath,_
strValueName,arrValues)

If (Return = 0) And (Err.Number = 0) Then
For Each strValue In arrValues
strFileOps = strFileOps & chr(13) & strValue
Next

WScript.Echo «Pending File Rename Operations Found: » & strFileOps

Else
If Err.Number = 0 Then
Wscript.Echo «No Pending File Operations Found»
Else
Wscript.Echo «Check Pending File Operations failed. Error = » & Err.Number
End If
End If

 

Kommentarer er stengt.

Opprett en gratis blogg eller et nettsted på WordPress.com.

opp ↑

%d bloggere like this: