Jump to content

Recommended Posts

Posted

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


Posted

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

Posted

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 :-)

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
  • Recently Browsing   0 members

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