MSFN Forum: WILL THIS REG WORK ? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WILL THIS REG WORK ? Rate Topic: -----

#1 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 01 November 2004 - 11:00 AM

I want to change the computer name that appears in the network neighbourhood with out restarting the computer and by the registry way . i figured out the key which holds it
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
"ComputerName"="skinless"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName]
"ComputerName"="-"


the question is will this reg change my " full computer name " and can be seen with new name on fly without asking to restart ?


#2 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 01 November 2004 - 11:16 AM

well i just tried to run that reg....it changed the settings in registry but when when i scan
with a-Mac Address changer to see the host name it showed the same old host name :(
any other way ?? help :s

#3 User is offline   FAT64 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 658
  • Joined: 09-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 November 2004 - 11:35 AM

I'm no expert, but I doubt very much that this would be possible without a restart. :no:

#4 User is offline   manofdos 

  • Group: Members
  • Posts: 4
  • Joined: 19-October 04

Posted 01 November 2004 - 11:41 AM

Try the reg then Disable the network connection and then re-enable it. That should restart the networking service. It may or may not work. Worth a shot though.

#5 User is offline   FAT64 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 658
  • Joined: 09-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 November 2004 - 11:51 AM

You might as well restart the Network Connections service using the services.msc snap-in.

#6 User is offline   buletov 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 518
  • Joined: 08-September 04

Posted 01 November 2004 - 04:47 PM

there are more entries to be changed + you must restart your computer:

now here is my working autoplay media studio code,
hope you can make something out of it:

function CompConf(Arg1)
  local clname = Arg1;
  local cuname = String.Upper(Arg1);
  --fax
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "serverName", clname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "shortServerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\Print\\Printers\\Fax\\DsSpooler", "uNCName", "\\\\"..cuname.."\\fax", REG_SZ);
  --name
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\ComputerName\\ComputerName", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\ComputerName\\ActiveComputerName", "ComputerName", cuname, REG_SZ);
  --tcpip
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", "Hostname", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", "NV Hostname", clname, REG_SZ);
  --eventlog
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Services\\Eventlog", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet002\\Services\\Eventlog", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Eventlog", "ComputerName", cuname, REG_SZ);
  --wmp
  Registry.SetValue(HKEY_USERS, ".DEFAULT\\Software\\Microsoft\\Windows Media\\WMSDK\\General", "ComputerName", cuname, REG_SZ);
  Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows Media\\WMSDK\\General", "ComputerName", cuname, REG_SZ);
  --users
  Registry.SetValue(HKEY_USERS, "S-1-5-19\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ);
  Registry.SetValue(HKEY_USERS, "S-1-5-20\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ);
  Registry.SetValue(HKEY_USERS, ".DEFAULT\\Software\\Microsoft\\Windows\\ShellNoRoam", "@", cuname, REG_SZ);
  Registry.SetValue(HKEY_USERS, ".DEFAULT\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions", cuname, "A "..clname.." computer with a MINX customized system.", REG_SZ);
end


#7 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 01 November 2004 - 10:54 PM

Quote

there are more entries to be changed + you must restart your computer:
hmmmmm i will try these entires but restart is something i am not looking for .... i want
it happen on fly ;)

Quote

Try the reg then Disable the network connection and then re-enable it. That should restart the networking service. It may or may not work. Worth a shot though.

uuhmmmmmm definitely worth a shot

Quote

You might as well restart the Network Connections service using the services.msc snap-in

services.msc :wacko: lemme google it n c what that is :)

But i am still looking out with a restart :}

#8 User is offline   buletov 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 518
  • Joined: 08-September 04

Posted 02 November 2004 - 03:48 AM

well then the answer is more than just registry, that's for sure...

#9 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 02 November 2004 - 04:10 AM

With such a poor title, I cannot believe I even looked in here ...

I would have suggested "Change ComputerName without rebooting"

http://www.jsiinc.co...0200/rh0285.htm

And for future reference ...
http://www.catb.org/...-questions.html

Attached File(s)



#10 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 03 November 2004 - 11:09 AM

Quote

With such a poor title, I cannot believe I even looked in here ...

:}

okie i will check those references now :)

#11 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 03 November 2004 - 11:16 AM

Quote

And for future reference ...
http://www.catb.org/...-questions.html


WTF ?

Quote

the question is will this reg change my " full computer name " and can be seen with new name on fly without asking to restart ?


i did post a key up there i guess !

anyways thanx for the baptize anyways .........

#12 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 03 November 2004 - 11:35 AM

Yes, you posted a key in your first post, where you assumed you had the answer to your own problem ... You asked a question that you could have easily answered yourself. In fact, you did so in your next post, where you ask if there was another way.

What I would have considered a better question would simply be:

Quote

I want to change the computer name that appears in the network neighbourhood with out restarting the computer. I tried simply changing the registry values listed below, but that did not work. Does anyone know of a method that would achieve this.

skinless, on Nov 3 2004, 10:16 AM, said:

... WTF ? ...

I guess I should have known better than to reply to your post, or even read a post with such a hopeless title, but fret not: this is the last reply you will get from me ... If you cannot be bothered, neither can I.

#13 User is offline   red_house 

  • Member
  • PipPip
  • Group: Banned
  • Posts: 115
  • Joined: 12-October 04

Posted 03 November 2004 - 12:05 PM

What have you got against a restart?

#14 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 03 November 2004 - 07:52 PM

Quote

What have you got against a restart?
takes hell lot of time :(

@greenmachine

Quote

Yes, you posted a key in your first post, where you assumed you had the answer to your own problem ... You asked a question that you could have easily answered yourself. In fact, you did so in your next post, where you ask if there was another way.

I am a newbie to registry so i was nervous to make any change in registry...... thats y i first posted this ...........then some how made my mind to change the registry key that i posted in the first post...didnt work :( so came the second post with a question . Dude now u tell me do i have to change the title after the second post ???
No offences .... i aint here to ignite a flame but just to gain some ryt knowledge from u.
Yeah, sure! The reference u gave will be USEFUL in future but the context in which u gave it annoyed me a bit..
If it would have been a sarcastic way it would have been definitely be appreciated but treating beginners with such BOORISH Hostility is not ryt !
I m with a view that questions do creep up ur mind one by one when ur on a quest.
I must have hurt ur HELPING ego but so did u to my LEARNING ego ....lets keep that aside dude !
I am sorry if ur offended ....but i am here to make friends not flame forums... so can we just get around try to help ppl around in forums neglecting what happened in here :)
Say what ?

Peace
skinless substitute

#15 User is offline   skinless 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 30-October 04

Posted 03 November 2004 - 08:04 PM

I c ur a very old member on this forum n yes with the no. of posts up there u must quite respected too :)
So acc to me i can look forward from something from u also when i need help ;) ...with ur kinda xperience u know such things do often in here n take no time to light up !

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy