Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Retrieve Windows Explorer settings for Specify how long the system waits to end processes when a user logs offContent of Retrieve Windows Explorer settings for Specify how long the system waits to end processes when a user logs off.vbsMD5 Hash: 3D820DFFDD9EF04AFE0E348F86198D48 |
||
On Error Resume Next
HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Control Panel\Desktop" ValueName = "WaitToKillAppTimeout" objReg.GetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue If IsNull(strValue) Then Wscript.Echo "Specify how long the system waits to end processes when a user logs off: The value is either Null or could not be found in the registry." Else Wscript.Echo "Specify how long the system waits to end processes when a user logs off: ", strValue End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |