WScript.Echo “Enabling Kerberos Logging…”
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = “.”
Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” &_
strComputer & “\root\default:StdRegProv”)
strKeyPath = “SOFTWARE\999”
strDWORDValueName = “DWORD Value Name”
strExpandedStringValueName = “Expanded String Value Name”
strMultiStringValueName = “Multi String Value Name”
strStringValueName = “String Value Name”
strValueName = “strValueName”
oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strDWORDValueName
oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strExpandedStringValueName
oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strMultiStringValueName
oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,StringValueName
oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName
WScript.Echo “-=[Complete!]=-”
Recommended Today
Think about open source project promoting rust search extension: quickly search rust documents in the browser address bar
Open source project name:Rust Search Extension Introduction to open source projects:Quick search for rust documents in the browser address barOpen source project type:teamProject creation time:2020 GitHub data:375 Star,18 ForkGitHub address:https://github.com/huhu/rust-search-extension Rust search extension is a plug-in that can quickly search rust documents, Crites, built-in properties and error codes in the browser address bar. It supports […]- VBS programming course (Part 1)
- VBS programming course (Chapter 3)
- VBS programming course (Chapter 4)
- VBS programming course (Chapter 5)
- VBS programming course (Chapter 6)
- Using VBS executable program + xmlhttp to download and back up the code of online files
- Application of combination of registry batch VBS page 1 / 2
- Using VBS to realize the code of display system palette
- Using VBS to traverse files and randomly display scripts
- Using VBS to realize the script of reading one line of file randomly