| Windows 7: Change Computer Name with BAT file? |
25 Jun 2012
|
#1 | | |
Change Computer Name with BAT file? Hi,
Would like to know if its possible to change the computer name using a bat file, on Windows 7 64bit.
Thanks! | My System Specs |
| OS 7 Ult x64 sp1 CPU intel i Motherboard z68 Memory ddr3 2GB+ Graphics Card nvidia pcie Monitor(s) Displays lcd PSU 600W Cooling fans Hard Drives sata2 |
25 Jun 2012
|
#2 | | Windows 7 Professional 32-bit (6.1, Build 7600) Canberra, ACT |
Hello there.
You can have a look at this website here: Change PC Name through Batch Script - Tweaking The Visual
It will tell you what you will need to do for making the BAT file.
Sincerely,
Sparrow. | My System Specs | | System Manufacturer/Model Number Hewlett-Packard OS Windows 7 Professional 32-bit (6.1, Build 7600) Memory 4096MB RAM Graphics Card Radeon ATI HD4870 Monitor(s) Displays NVIDIA GeForce GT220 Screen Resolution 1680 x 1050 |
26 Jun 2012
|
#3 | | |
Thanks for that.
Just before I try it out, will it definitely work in Win 7 64?
Its just because its tagged as "tweaks" and "xp", so want to be sure in case it changes anything its not supposed to.
Thanks! | My System Specs | | OS 7 Ult x64 sp1 CPU intel i Motherboard z68 Memory ddr3 2GB+ Graphics Card nvidia pcie Monitor(s) Displays lcd PSU 600W Cooling fans Hard Drives sata2 |
26 Jun 2012
|
#4 | | Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 14 MATE (64 bit) Adelaide |
Windows Backup & Macrium Create a backup HDD image before you try it. Tutorials
Macrium Reflect Imaging with free Macrium
Windows Backup Backup Complete Computer - Create an Image Backup
Last edited by lehnerus2000; 26 Jun 2012 at 09:11 PM..
Reason: Layout
| My System Specs | | System Manufacturer/Model Number n/a OS Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 14 MATE (64 bit) CPU AMD Phenom II x6 1055T, 2.8 GHz Motherboard ASRock 880GMH-LE/USB3 Memory 8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2) Graphics Card ATI Radeon HD6450 Sound Card Realtek? Monitor(s) Displays Samsung S23B350 Screen Resolution 1920x1080 Mouse Wired Optical Case Tower Hard Drives Western Digital 1 TB (SATA), Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA) Internet Speed DSL Other Info Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
RAM & Graphics Card Upgraded - 2013-01-13
Monitor Upgraded - 2012-04-20
System Upgraded - 2011-05-21, 2010-07-14
HDD Upgraded - 2010-08-11, 2011-08-24 |
28 Jun 2012
|
#5 | | |
Doesn't seem to work.
I run the bat file as Admin, then cmd prompt appears with "Please enter your desired PC name:"
I type name, press enter, cmd closes.
Restart the pc, go into control panel>system, and computer name is still the same... | My System Specs | | OS 7 Ult x64 sp1 CPU intel i Motherboard z68 Memory ddr3 2GB+ Graphics Card nvidia pcie Monitor(s) Displays lcd PSU 600W Cooling fans Hard Drives sata2 |
28 Jun 2012
|
#6 | | Windows 7 Professional 32-bit (6.1, Build 7600) Canberra, ACT |
That is weird, it works perfectly for me. | My System Specs | | System Manufacturer/Model Number Hewlett-Packard OS Windows 7 Professional 32-bit (6.1, Build 7600) Memory 4096MB RAM Graphics Card Radeon ATI HD4870 Monitor(s) Displays NVIDIA GeForce GT220 Screen Resolution 1680 x 1050 |
28 Jun 2012
|
#7 | | MS Windows 7 Ultimate 64-bit SP1 Somewhere in the middle of Desert :-) |
Why you want to change the computer name using a batch file? Any particular reason? Batch files are mostly useful for applying to multiple systems.
To change for one system, the easiest way would be to go to Control Panel - System - Advanced System Settings - Computer Name tab - Click on Change button and rename the computer name to a new name click OK and reboot the system.
This is a pretty straight forward method. | My System Specs | | System Manufacturer/Model Number Toshiba Satellite P775-S7232 OS MS Windows 7 Ultimate 64-bit SP1 CPU i5-2410M 2.3GHz (2.9GHz Turbo-Boost) Sandy Bridge 32nm Motherboard Toshiba PHRAA ver. PSBY1U-00F003 Memory 4GB+4GB Samsung DDR3 PC3-10700 (1333 MHz) Graphics Card Video Intel(R) HD Graphics Family, 1696MB available memory Sound Card Realtek High Definition Audio version=6.0.1.6323 Monitor(s) Displays 17.3 " Trubrite TFT LCD, LED Backlit Screen Resolution 1600x900 32 bit, Native support for 720P content Keyboard Premium Raised Tile keyboard Mouse Logitech M215 wireless mouse PSU Toshiba AC/DC Adapter Case Notebook Cooling Built-in Fan Hard Drives TOSHIBA MK6476GSXN
580.614 [GB] partitioned C: 80GB and D: 500GB with hidden recovery partitons.
Spare bay for 2nd HDD but no SATA connector :-( Internet Speed Not fast enough Other Info Built-in Harman Kardon speakers with Dolby Advanced Audio, Waves MaxxAudio® 3. HDMI, 1xUSB3+3xUSB2 ports, WebCam, Battery life 4hrs 11mins, 4GB Readyboost SDHC card, WD My Book Essential Ext HDDs 2 TB, 2x1TB, My Passport SE 1TB and WDTV 1st Gen for Multimedia playing on a Sony Wega 32" LCD.
Recent addition to my toys are Asus Transformer Pad TF300T with 32GB onboard sd card + 32GB microsd card. |
28 Jun 2012
|
#8 | | |

Quote: Originally Posted by BlackSparrow That is weird, it works perfectly for me. So it shows the changed name in system properties?
Could you tell me what you did step by step?
If I use a third party info tool, it shows the new name, but sys properties and CMD ( hostname, ipconfig etc ) show old name. 
Quote: Originally Posted by rraod Why you want to change the computer name using a batch file? Any particular reason? Batch files are mostly useful for applying to multiple systems.
To change for one system, the easiest way would be to go to Control Panel - System - Advanced System Settings - Computer Name tab - Click on Change button and rename the computer name to a new name click OK and reboot the system.
This is a pretty straight forward method. I will use it on multiple systems. sysdm doesnt run. | My System Specs | | OS 7 Ult x64 sp1 CPU intel i Motherboard z68 Memory ddr3 2GB+ Graphics Card nvidia pcie Monitor(s) Displays lcd PSU 600W Cooling fans Hard Drives sata2 |
28 Jun 2012
|
#9 | | Windows 7 Professional 32-bit (6.1, Build 7600) Canberra, ACT |

Quote: Originally Posted by nevesswodniw 
Quote: Originally Posted by BlackSparrow That is weird, it works perfectly for me. So it shows the changed name in system properties?
Could you tell me what you did step by step?
If I use a third party info tool, it shows the new name, but sys properties and CMD ( hostname, ipconfig etc ) show old name. I just did what it said on the list i submitted. | My System Specs | | System Manufacturer/Model Number Hewlett-Packard OS Windows 7 Professional 32-bit (6.1, Build 7600) Memory 4096MB RAM Graphics Card Radeon ATI HD4870 Monitor(s) Displays NVIDIA GeForce GT220 Screen Resolution 1680 x 1050 Change Computer Name with BAT file? problems? All times are GMT -5. The time now is 08:12 AM. | |