Jump to content

Add HKEy_Local_Machine key on windows 7


moshi
 Share

Recommended Posts

Hello,

I am tring to add a Registry keys using the RegWrite command.

It works on XP, but on Vista/7 the RegWrite command will not add the HKEY_LOCAL_MACHINE keys, but it adds the HKEY_CURRENT_USER keys.

any ideas?

this is my script:

; --------------- Regsitry Setting for Tight VNC 2

RegWrite ("HKEY_LOCAL_MACHINE\SOFTWARE\TightVNC\Server", "LocalInputPriority","REG_DWORD","1")

RegWrite ("HKEY_LOCAL_MACHINE\SOFTWARE\TightVNC\Server", "LocalInputPriorityTimeout","REG_DWORD","2")

RegWrite ("HKEY_LOCAL_MACHINE\SOFTWARE\TightVNC\Server", "EnableFileTransfers","REG_DWORD","1")

; --------------- Regsitry Setting for Tight VNC 1.3

RegWrite ( "HKEY_CURRENT_USER\Software\ORL\WinVNC3", "FileTransferEnabled" ,"REG_DWORD","1")

RegWrite ( "HKEY_CURRENT_USER\Software\ORL\WinVNC3", "RemoveWallpaper" ,"REG_DWORD","1")

RegWrite ( "HKEY_CURRENT_USER\Software\ORL\WinVNC3", "Tester" ,"REG_DWORD","1")

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...