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: 209
  • Last Modified:

Managing Hyper-V from workgroup PC

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
roy_batty
Asked:
roy_batty
  • 6
  • 5
  • 2
  • +1
1 Solution
 
Aristotle ReyesCommented:
have you tried using credential manager then adding IP of the HV server + .\localadmin?
0
 
A KarelinCommented:
Check UAC or run mmc "as administrator".
0
 
McKnifeCommented:
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
Problems using Powershell and Active Directory?

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

 
roy_battyAuthor Commented:
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
 
A KarelinCommented:
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
 
A KarelinCommented:
Why do you use runas?
0
 
roy_battyAuthor Commented:
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
 
McKnifeCommented:
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
 
A KarelinCommented:
Your server and PC isnt part of a domain. They should have the same local account.
0
 
A KarelinCommented:
try something like this runas /user:adesi\adm%username% "cmd /c Start /B mmc.exe %SystemRoot%\system32\dsa.msc"
0
 
roy_battyAuthor Commented:
It doesnt seem to matter what I set the policy to it will not run
0
 
A KarelinCommented:
Check it in control panel.
0
 
roy_battyAuthor Commented:
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
 
roy_battyAuthor Commented:
None of the comments resolved the issue. My comment came closest.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now