Jump to content

Change remote reg key


BoogY
 Share

Recommended Posts

ok here is my code.. i'm trying to do a test to see if itworks :

_noSMS()
func _noSMS()
    $computerName = InputBox("Computer Name", "The computer Name : "
    RegWrite("\\" & $computerName & "\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Genuine Advantage","InstallID", "REG_DWORD","00000000")
    if @error = 1 Then MsgBox(0,"KEY ERROR", "The kes doesn't exists",5)
EndFunc

but it's not working...

an i doying it wrong ?

Thanks agen >_<

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...