Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Retrieve Windows Explorer settings for Attempt to automatically locate file shares and printersContent of Retrieve Windows Explorer settings for Attempt to automatically locate file shares and printers.vbsMD5 Hash: 89CB0E307E5D95CDECBEA3F8B68A2256 |
||
On Error Resume Next
HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ValueName = "NoNetCrawling" objReg.GetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, dwValue If IsNull(strValue) Then Wscript.Echo "Attempt to automatically locate file shares and printers: The value is either Null or could not be found in the registry." Else Wscript.Echo "Attempt to automatically locate file shares and printers: ", dwValue End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |