Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Change the Description for a ComputerContent of Change the Description for a Computer.vbsMD5 Hash: 961D3CB4959EBDAB39857A5DCED58E3F |
||
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "." Set objRegistry = GetObject _ ("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "System\CurrentControlSet\Services\lanmanserver\parameters" strValueName = "srvcomment" strDescription = "Description changed programmatically" objRegistry.SetStringValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, strDescription | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |