Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Deleting Reg Key
- I need to delete a registry keys through a login script . I am not sure I have the right syntax.=========================================DelRegKey.vbs'' This script should handle deleting a registry key which may, or may not, exist' and does, or does not, have subkeys.Option ExplicitConst HKEY_CURRENT_USER = &H80000001Dim strComputerDim strKeyDim strValueNameDim strValueDim...
- Tags: aSubKeys, ByVal strKey, Deleting Reg Key, networking, rocky5689, strKey, strKey End, vbs, Wscript.Echo
- Discussion threads 2006-01-11
- WMI: Output to a file
- HI, Does anyone knows how to output the data to a file in the script below? I tried to find info on this but so far no luck. Thanks.-------------------------------------Option ExplicitDim strComputer, strKey, strSubKeyDim objRegistryDim arrSubKeysDim strDisplayName, strDisplayVersion, strInstallLocationConst HKEY_LOCAL_MACHINE = &H80000002strComputer = "."strKey = "SOFTWAREMicrosoftWindowsCurrentVersionUninstall"'*'* CALLOUT A'*Set objRegistry = GetObject("winmgmts:"...
- Tags: programming, psvoboda@..., strKey, strSubKey, strSubKey Dim objRegistry Dim arrSubKeys, WMI
- Q&A 2005-04-21
- << Previous
- page 1 of 1
- Next >>