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" m 0 l Can't find your answer ? Ask ! Publish Related resources How do I change the Windows xp os name without any programs or a command prompt? solution Solvedhow to change dynamic to basic hard disk while using command prompt solution Changing system name using command prompt Forum SolvedHow to get out of safe mode in Windows 8 using command prompt solution Solvedhow can I get to command prompt in win 7 without safe mode or a reset disc using just my keyboard solution SolvedHow can remotely lock computer via command prompt solution how to Check disk using command prompt on window 7 solution how to retrieve files in hard disk d using command prompt solution how to get a command prompt without an OS on computer solution How to delete registry key using Command Prompt solution How to use safe mode command prompt windows 8 without start up solution How to change Screen Resolution from Command Prompt Forum How to format a write protected pen drive using command prompt in window 7 Forum How to send a file using lan / command prompt Forum How to send a file using lan / command prompt Forum Regarding how to format c drive using command prompt Forum How to check mx record using command prompt Forum How to activate task manager in windows xp without using command prompt Forum how to use gmail to send messages from command prompt? solution How do you give an account administrative rights using command prompt Forum More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !