Solved

Right to reboot Hyper-V guest machine

Posted on 2011-09-29
8
522 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
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtual Machine wont start after Snapshot AVHD merge 5 25
Does anyone have the VHDTOOL.exe code? 7 556
Redundancy 3 114
Disk-to-VHD Question 11 104
Introduction RemoteFX is already in use today, but you're probably not aware of it.  With the advent of Windows 2012 and Windows 8, RDP has gotten a whole lot better due to the fact that RDP now uses even more RemoteFX technologies to make desktop …
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

856 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