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? Forum Solvedhow to change dynamic to basic hard disk while using command prompt Forum Changing system name using command prompt Forum SolvedHow to get out of safe mode in Windows 8 using command prompt Forum Solvedhow can I get to command prompt in win 7 without safe mode or a reset disc using just my keyboard Forum SolvedA while back, I dragged command prompt onto my desktop, deleted it, made a new one, and now it doesn't work how it used to! He Forum how to Check disk using command prompt on window 7 Forum SolvedHow can remotely lock computer via command prompt Forum how to retrieve files in hard disk d using command prompt Forum how to get a command prompt without an OS on computer Forum How to delete registry key using Command Prompt Forum How to change Screen Resolution from Command Prompt Forum How to use safe mode command prompt windows 8 without start up 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 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 !