Sorry for the newbie question but I am just learning how to script with vbscript. I have the need to delete/edit/andor add keys to the registry. I can seem to figure out how to do this. I am using the following as a test script.
Option Explicit
Dim WshShell, KEY1
Set WshShell = WScript.CreateObject("WScript.Shell")
KEY1 = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaltPassword"
WshShell.RegDelete KEY1
Any wisdom would be most welcome. TIA
d
Option Explicit
Dim WshShell, KEY1
Set WshShell = WScript.CreateObject("WScript.Shell")
KEY1 = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaltPassword"
WshShell.RegDelete KEY1
Any wisdom would be most welcome. TIA
d