Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Need a script to change the name of a computer

07 Feb 2012   #11
Cancerous

Windows 7 Professional 32bit
 
 

I'm doing it using wsname.exe now.

Code:
for /f "delims=" %a in ('c:\windows\system32\webfetch.exe websiteurl.php') do @set VMHOST=%a

wsname.exe /N:%VMHOST%
That works
Not it's just a matter of getting it to work with sysprep


My System SpecsSystem Spec
.
Reply

 Need a script to change the name of a computer




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Visual Basic Script Change
Someone who knows Visual Basic Scripting, help me with a script that was handed to me, but it's not complete and can use a few adjustments to it. The script is a little advanced, just a forewarning :)
Software
how to change his script?
how to change his script?
General Discussion
The text under my icons changed to script? How do I change it back?
Hey guys: That pretty much sums it up. I don't know what happened but now it's really annoying to read the icons because their in script. How do I change it back to normal? Actually, everything is now in script, including the start menu and all other sub-menus. Fudge... Thanks
Software
Script to change power settings
Greetings, I am attempting to temporarily disable hibernate and make sure the monitor doesn't go off while I am running a script to complete system configuration. control powercfg.cpl -monitor-timeout-ac 30 control powercfg.cpl -monitor-timeout-dc 30 control powercfg.cpl /hibernate off
Performance & Maintenance
need to change input language for new users via registry script
Hello, I need script or string by regedit to change input language for new user accounts to Portuguese (Portugal) - Portuguese. Thanks
General Discussion
Change default program through script
Hi guys, I'm in a new IT job for a computer lab and I'm picking up skills for maintaining it as I go along. I need to change the default program for a filetype on all machines in the lab. If I just log on as admin and change it under my account, the change doesn't persist for the non-admin...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:15.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App