How we can change computer name using command prompt Tags: Configuration Computers Command Prompt Registry Windows 7 Last response: January 4, 2012 7:13 AM in Windows 7 Share Bharath_05 January 4, 2012 4:44:07 AM HI please share the solution how can i change my compter name using command promet or using registry keys please do need full More about : change computer command prompt das_stig a b $ Windows 7 January 4, 2012 7:13:02 AM Open up notepad, paste code below and save with VBS extension, now run. sNewName = "put new name here" Set oShell = CreateObject ("WSCript.shell" ) sCCS = "HKLM\SYSTEM\CurrentControlSet\" sTcpipParamsRegPath = sCCS & "Services\Tcpip\Parameters\" sCompNameRegPath = sCCS & "Control\ComputerName\" With oShell .RegDelete sTcpipParamsRegPath & "Hostname" .RegDelete sTcpipParamsRegPath & "NV Hostname" .RegWrite sCompNameRegPath & "ComputerName\ComputerName", sNewName .RegWrite sCompNameRegPath & "ActiveComputerName\ComputerName", sNewName .RegWrite sTcpipParamsRegPath & "Hostname", sNewName .RegWrite sTcpipParamsRegPath & "NV Hostname", sNewName End With ' oShell MsgBox "Computer name changed, please reboot your computer" Can't find your answer ? Ask ! Publish Related resources Changing system name using command prompt Forum How do you get to the DOS prompt using the Recovery CD Forum How to display a computer password using command prompt Forum how do i reach command prompt when starting win xp in start with comma Forum Parameter format not correct in command Prompt - Read Only.. Forum Command prompt and wild cards Forum Change Computer Name - via command line or registry Forum Thai language at dos command prompt Forum How to change hostname in windows xp by command line Forum Changing computer name via command line Forum Regarding how to format c drive using command prompt Forum Changing a Servers (DC) computer name Forum How to send a file using lan / command prompt Forum Computer Name Change Forum How to open a command prompt ? Forum Window 7 ultimate hp product key Forum Hp psc 950 driver want to connect to Windows 7 2010 computer and use fax functio Forum Did http://192.168.100.1/ go away, is it me or my computer? Forum How to connect laptop to projector Forum [Solved] How to install os on a corapted dynamic disk Forum More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !