Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 54
  • Last Modified:

Hyper-V uninstall server 2008 r2 standard changed computer name

I installed Hyper-V on a production server 2008 r2. After realizing I didn't want to use it I removed the Virtual server, which was never started, and uninstalled the hyper-v role.
Now the server name has been changed to the name given to the hyper-v server.

When I open server manager it gives me an error "Device manager is running in read only mode because you are running it on a remote computer"
In server manager at the top it says my server name is "WIN-IPE632OG13D" instead of "SQL1" like it should be.

This is causing some SQL1 service to not run. The main SQL database has not been affected and it is still in production.

I need to get this back to SQL1. Any help is appreciated.
0
scooter47
Asked:
scooter47
1 Solution
 
Svet PaperovIT ManagerCommented:
If you run ipconfig /all does it show the new computer name or the old one?

You can use Powershell to set the host name: Rename-Computer http://technet.microsoft.com/en-us/library/hh849792(v=wps.620).aspx
0
 
scooter47Author Commented:
Thanks for the reply. Yes it shows the old (correct) computer name.

I ended up fixing the problem by searching the registry for that computer name and just changing it back to SQL1. There were only about 5 or six entries. I rebooted and all is good. Not sure what happened to cause that issue.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now