- Home
·
- Registry
·
- Prompt to enter a new Windows user name and then change it in the registry.
Prompt to enter a new Windows user name and then change it in the registry.
Prompt to enter a new Windows user name and then change it in the registry.
Rate Prompt to enter a new Windows user name and then change it in the registry.
(2(2 Vote))
Set WSHShell = WScript.CreateObject("WScript.Shell")
inpName = inputbox("Please enter the 'Current Username':")
WSHShell.RegWrite "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Current User", inpName, "REG_SZ"
Prompt to enter a new Windows user name and then change it in the registry. Comments
No comments yet — be the first to post one!
Post a Comment