Overclock.net banner
1 - 6 of 6 Posts

· Registered
Joined
·
519 Posts
Discussion Starter · #1 ·
How do you add a registry key to a computer using a batch file?

Thanks!
 

· Registered
Joined
·
519 Posts
Discussion Starter · #3 ·
Cool! Thanks!

I also found that it can be done with a VBS file....

dim oShell
set oShell = Wscript.CreateObject("Wscript.Shell")
oShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\RasMan \\PPP\\EAP\\13\\MaxTLSMessageLength", 64000, "REG_DWORD"
Set oShell = Nothing
 

· Premium Member
Joined
·
7,497 Posts
Here is another interesting tip. Take a .REG file and a registry key in that file and put a "-" (minus) in front of the key. When you run it, it will delete that registry entry.
 

· Registered
Joined
·
2,200 Posts
Quote:

Originally Posted by FrankenPC View Post
Here is another interesting tip. Take a .REG file and a registry key in that file and put a "-" (minus) in front of the key. When you run it, it will delete that registry entry.
Wow, thats actually really useful

+REPS!
 
1 - 6 of 6 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top