Jump to content


jace5869

Established Members
  • Posts

    2
  • Joined

  • Last visited

jace5869's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Looking through the Server 2003 Resource Kit I have this VBScript?? ErrResults = oComputer.Rename(WScript.Arguments.Named("name"),Null,Null) If ErrResults <> 0 Then WScript.Echo " ***Error Renaming: " & ErrResults Else Verbose "Rename successful. Restart of remote computer is necessary. " End If Do you think this will be sufficient enough? I'm still at a loss as to how to make this change the name based on MAC Address
  2. Basically what I need is a script that will somehow look at the MAC address (possible through ipconfig /all or sysinfo or something) of the Local Area Network connection (on-board NIC) and change the computer to something like: C:> ipconfig /all IP ........................... 192.168.0.2 Subnet mask............ 255.255.255.0 Default Gateway....... 192.168.0.1 MAC........................ 00-1E-4F-F5-89-66 Add 'US' to the MAC -> US00-1E-4F-F5-89-66 -> Remove the dashes -> US001E4FF58966 Sorry, for dragging out all of that, I just didn't want any misunderstandings about what I was trying to achieve, I'm not great at scripting at all -- I'm trying to learn (I'm just an intermediate Batch file scripter). I don't mind if the script is in BATCH, VBScript, PERL, Python ... but I think it would probably be something easily done through VBScript. Like I said, I'm willing to learn as much as possible so if you could run me through what ever you have I would appreciate it. I'm looking at making either a Automated Windows Deployment and need a way of running a script to change the name -- and then add the computer to the domain. since all of this economy crisis it would be hard to get my work to purchase hundreds of licenses of a Ghost/Symantec product to manage this. Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.