Solved

Managing Hyper-V from workgroup PC

Posted on 2014-11-12
14
203 Views
Last Modified: 2014-12-15
I have a old PC running Server2012 which is configured with Hyper-V.

Previously I have used these instructions to manage the server  (which isnt part of a domain) from a Windows 8.1 client (which isnt part of a domain).

I have recently reinstalled Windows 8.1 on my laptop and I am now unable to get the remote admin function working.

I get the error - 740 :The requested operation requires elevation.

Even when starting with a basic command like :

runas /user:username mmc

I get prompted for the password but then get the 740 error.

Any suggestions what I am doing wrong?
0
Comment
Question by:roy_batty
[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
  • 6
  • 5
  • 2
  • +1
14 Comments
 

Expert Comment

by:Aristotle Reyes
ID: 40439092
have you tried using credential manager then adding IP of the HV server + .\localadmin?
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40439203
Check UAC or run mmc "as administrator".
0
 
LVL 54

Expert Comment

by:McKnife
ID: 40439373
You reinstalled windows and probably had UAC off on your previous installation, I guess.
Do you know what elevation is? You would need not only to use an administrative account but also elevate the mmc.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Author Comment

by:roy_batty
ID: 40439473
I am the local admin on the PC and I have run CMD as an administator before trying out the commands mentioned. I have also tried disabling UAC and this did nothing either.
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40439481
Go to GPEDIT.msc
Select Computer Configuration - Windows Settings - Local Policies - Security Options
 
There are several here for "User Account Control"  (Toward the bottom)
 
Choose the one with Behavior of the eleveation prompt for Administrators.....
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40439484
Why do you use runas?
0
 
LVL 1

Author Comment

by:roy_batty
ID: 40442300
Sorry just released that I forgot to include the link to the instructions I am following in my 1st post.

Here it is:

http://blogs.msdn.com/b/virtual_pc_guy/archive/2009/04/08/running-the-hyper-v-management-tools-with-alternate-credentials.aspx
0
 
LVL 54

Expert Comment

by:McKnife
ID: 40442315
If you disable UAC and restart AND your account is local admin, you will never see the message "The requested operation requires elevation." - this can't be. So please re-describe the error with UAC off.
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40442316
Your server and PC isnt part of a domain. They should have the same local account.
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40442321
try something like this runas /user:adesi\adm%username% "cmd /c Start /B mmc.exe %SystemRoot%\system32\dsa.msc"
0
 
LVL 1

Author Comment

by:roy_batty
ID: 40442340
It doesnt seem to matter what I set the policy to it will not run
0
 
LVL 5

Expert Comment

by:A Karelin
ID: 40442410
Check it in control panel.
0
 
LVL 1

Accepted Solution

by:
roy_batty earned 0 total points
ID: 40491858
I finally resolved this my enabling the administrator account of the local PC and setting the password to match the local admin account on the server. It then worked fine.

I had been using an account on the local PC called Hyper which matched an identical account on the server. Both of these accounts had full admin rights but just did not work. I still dont know why it worked with built in admin accounts and not with the admin accounts I created but it does.
0
 
LVL 1

Author Closing Comment

by:roy_batty
ID: 40499956
None of the comments resolved the issue. My comment came closest.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
Detailed instructions on how to install an Access add-in in recent versions of Office and Windows (with screen shots)
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

733 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