/build/static/layout/Breadcrumb_cap_w.png

Renaming a windows 7 PC using a script

Has anyone used a script in Kace1000 to rename a Windows 7 PC

4 Comments   [ + ] Show comments
  • in or out of a domain? - SMal.tmcc 9 years ago
  • On the Domain - jsgroe@psahealthcare.com 9 years ago
    • you may need to use netdom and run the script on a dc not the workstation - SMal.tmcc 9 years ago
  • http://support.microsoft.com/en-us/kb/298593 - SMal.tmcc 9 years ago
  • After installing the Server admin tools on my desktop, I was able to run "netdom.exe renamecomputer TESTPC /newname:TestPC2 /userd:Domaim\Username /passwordd:password /force /reboot:120" This allows me to run the command from my desktop but how would I do that in a kace script.
    Does the Kace script run locally on the desktop when it is pushed? - jsgroe@psahealthcare.com 9 years ago
    • since the tools are on your machine you target your machine with the script and it carries out the command in the domain for you. - SMal.tmcc 9 years ago

Answers (3)

Answer Summary:
Posted by: SMal.tmcc 9 years ago
Red Belt
4
use launch a program

directory = c:\windows\system32
file = cmd.exe
parameters = /c WMIC ComputerSystem where Name="COMPUTER-NAME" call Rename Name=NewName
Posted by: SMal.tmcc 9 years ago
Red Belt
1
WMIC ComputerSystem where Name="COMPUTER-NAME" call Rename Name=NewName

Comments:
  • I have used that before but since I am new to Kace. How would it put that into a kace script - jsgroe@psahealthcare.com 9 years ago
Posted by: anonymous_9363 9 years ago
Red Belt
1
It's probably NOT a good idea to use your email address as a username on a public forum. Unless you *enjoy* inviting spammers, of course... :-)

Comments:
  • sometime you have to take chances to help others - SMal.tmcc 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ