Solved

Right to reboot Hyper-V guest machine

Posted on 2011-09-29
8
523 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 250 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
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 6

Assisted Solution

by:penguinjas
penguinjas earned 250 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Hyper-V vs VMware Clusters 16 69
where do virtual machines stay by default 5 93
Initial Replication getting failed 5 145
Good Virtual Desktop with Office suite < HOSTED > 7 110
Hopefully if you are reading this article you have NOT attempted to use an old Hyper-V snapshot on a Domain Controller.  If you have, you're probably beyond frustrated as you have searched Google relentlessly only to find out that doing a snapshot o…
Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager: If you are experiencing t…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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