Jump to content

How to change the Registration name?


Recommended Posts


Posted (edited)

This can be done with some simple vb script:

Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion"

strEntryName1 = "RegisteredOwner"
strEntryName2 = "RegisteredOrganization"

strValue1 = "User"
strValue2 = "Organization"

objReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strEntryName1,strValue1
objReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strEntryName2,strValue2

Edited by cluberti

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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