MSFN Forum: Change And Lock Netbios / Computer Name - MSFN Forum

Jump to content



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

Change And Lock Netbios / Computer Name Rate Topic: -----

#1 User is offline   Philster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 29-September 03
  • OS:none specified

Posted 21 February 2005 - 06:45 AM

I currently use an Unattended Install Cd that I created at my workplace for all the PCs here. The netbios name is added from that install as a random name added to the organisation name as is commonly done.

I am wanting the netbios name to be more meaningful and want to change it to be the serial number of the PC.

However, I also want to lock it once this has been done so it cannot be changed by the user.

Does anyone have any ideas or can point me to an app or util that can help?

Thanks


Phil


#2 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 21 February 2005 - 08:01 AM

yup...

here is atleast one way that would work...

1. from the GuiRunOnce section of your answer file (for the unattend install) launch a wmi script (.vbs) that will query the machine for its serial number (asset tag I think it is...). Then let the script rename ur machine from the temp name specified in ur answer file.
2. continue..

go to MS webby and get a sample wmi script for these kind of things...

#3 User is offline   Philster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 29-September 03
  • OS:none specified

Posted 21 February 2005 - 10:01 AM

Cool, I'll check it out. I have actually got a small app that does just that, replacing the current name with the serial number, but it then pops a box up that has to be clicked (and wmi scripts, vbs etc isn't really my bag!).

But I'll investigate, thanks for the advice :-)

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