Jump to content

Computer Registered name


Recommended Posts

Posted

rHow do I chane the computer registered name? When I go to c drive/system

Propertes/General I would like to change the registered name.

 

Thank You

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Guest Eric P.
Posted

Re: Computer Registered name

 

gdz wrote:

> rHow do I chane the computer registered name? When I go to c drive/system

> Propertes/General I would like to change the registered name.

>

> Thank You

' Windows Scripting Host Script to correct the

' registered owner and company name in the Registry

 

Dim WSHShell

Set WSHShell = WScript.CreateObject("WScript.Shell")

 

ChangeOne "RegisteredOwner", "Owner"

ChangeOne "RegisteredOrganization", "Company"

 

Sub ChangeOne (valName, dispName)

' Read the old value from the Registry

oldValue = WSHShell.RegRead("HKLM\SOFTWARE\Microsoft\" +_

"Windows\CurrentVersion\" + valName)

' Prompt the user to input a new value

newValue = InputBox("Old Value " + Chr(34) + oldValue + _

Chr(34), "Change Registered "+dispName, oldValue)

' Was any change requested?

If (newValue <> "") AND (newValue <> oldValue) Then

' If so, make the change...

WSHShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\" +_

"CurrentVersion\"+valName, newValue

' ... and report the change

WSHShell.Popup "Registered " + dispName + " changed " +_

"from " + Chr(34) + oldValue + Chr(34) + " to " +_

Chr(34) + newValue + Chr(34)

Else

' If not, report that no change was made

WSHShell.Popup "No change to registered " + dispName

End If

End Sub

Guest Don Phillipson
Posted

Re: Computer Registered name

 

"gdz" <gdz@discussions.microsoft.com> wrote in message

news:33ADF88F-5421-4B37-93CE-4796033E49C6@microsoft.com...

> rHow do I chane the computer registered name? When I go to c drive/system

> Propertes/General I would like to change the registered name.

 

1 -- /Start / Run / REGEDIT.EXE

2 -- / File / Export a backup copy of the Registry

as it is before you change anything

3 -- / Edit / Find to search for the unwanted name

with Keys and Values checked.

4. Each instance found can be highlighted; a

right click then gives you the edit menu, where

you type in the name you want.

 

On exit this Registry is saved automatically.

 

--

Don Phillipson

Carlsbad Springs

(Ottawa, Canada)

Posted

Re: Computer Registered name

 

Go here: http://www.dougknox.com

Click Utility on the left side, then "Change Registered Owner/Organization" on the

right side.

 

Direct link to the page:

http://www.dougknox.com/utility/scripts_desc/chgownorg.htm

 

Right-click the download link for the .vbs file and click Save Target As...., save

it on your destop, then run it and fill in the info you want.

--

Glen Ventura, MS MVP Shell/User, A+

http://dts-l.org/

 

 

"gdz" <gdz@discussions.microsoft.com> wrote in message

news:33ADF88F-5421-4B37-93CE-4796033E49C6@microsoft.com...

> rHow do I chane the computer registered name? When I go to c drive/system

> Propertes/General I would like to change the registered name.

>

> Thank You


×
×
  • Create New...