?
Solved

Right to reboot Hyper-V guest machine

Posted on 2011-09-29
8
Medium Priority
?
527 Views
Last Modified: 2013-11-06
I have create a hyper-V guest machine and already grant local administrator right and domain server operators to a user. However, the user couldn't reboot the server unless I give him the Domain admins right. Have any idea for this ?

Thanks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 9

Expert Comment

by:Lester_Clayton
ID: 36814403
Was he trying to reboot the server through Hyper-V Manager?  Being a local administrator of a virtual machine won't give him rights to use Hyper-V - which is why Domain Admin was required in that case.

The thing is, Domain Admin grants far too much rights.  Instead, give him Local Admin on the server(s) which run Hyper-V - that way he will be able to use Hyper-V manager, and be able to reboot machines.

With SCVMM (System Center Virtual Machine Manager) you can grant much more granular rights.
0
 

Author Comment

by:AXISHK
ID: 36814680
Sorry for the confusion. Actually, the user connects to the guest machine through Remote Desktop but it doesn't allow to reboot the server. The user doesn't need to reboot the guest OS through the Hyper-V host.

The user has been added to the local administrator of the server (guest machine) but there is no reboot option provided. Any idea ?

Thanks


0
 
LVL 9

Accepted Solution

by:
Lester_Clayton earned 1000 total points
ID: 36814743
Aha!

Yes, this can be sometimes an annoying feature - when the only two options is logoff and disconnect.  I have this problem sometimes.  It drives me crazy - this usually happens on a Workstation OS rather than a server OS.

To overcome it, I shut down using the command prompt.

To shut down:
shutdown -s -t 0

Open in new window


To reboot:
shutdown -r -t 0

Open in new window


To do a forced reboot
shutdown -f -t 0

Open in new window


the -t 0 specifies 0 seconds - i.e. immediately
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 6

Assisted Solution

by:penguinjas
penguinjas earned 1000 total points
ID: 36817211
If you go to start you can select windows security and you should get an option to restart the server.  If it's a 2008 server you can select the red icon lower left to shutdown or restart.  If it's 2003 you get the shutdown button and can choose options from a drop down menu.  
0
 

Author Comment

by:AXISHK
ID: 36818886
Issue the control and it just tell "Access is denied".

Again, the user has been granted with local administrator of the server, and server operators of the domain. Any idea ?

Thanks
0
 

Author Comment

by:AXISHK
ID: 36818959
One more add, the server is a guest OS on a Hyper-V server. I haven't grant the local administrator right for the server. I only grant local administrators for the user on guest OS.

Will that be the problem ?

Thanks
0
 
LVL 6

Expert Comment

by:penguinjas
ID: 36892650
So user is a local administrator on the guest OS machine you are trying to reboot.  When you added the user did you logon to the guest OS as an administrator to add the user into the group or do it remotely?  If you did it remotely like through computer management the user needs to logoff of the guest and log back on before the permissions will take effect.
0
 

Author Closing Comment

by:AXISHK
ID: 36896048
The problem was caused by one of the GPO and I have already changed it. Tks for all valuable advice.

Tks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I've already written articles on how to set up a Hyper-V Cluster (http://www.experts-exchange.com/A_7910.html), and how we can benefit from Microsoft licensing grants within Hyper-V (http://www.experts-exchange.com/A_7831.html), but …
Nowadays, Virtual Machines are used equally by small and large scale organizations. However the issue is that VMDK files are also prone to corruption. So, in this article we are looking at how to recover VMDK files from hard disk of host operating s…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question