1.    4 Weeks Ago #1
    Join Date : Dec 2015
    Posts : 5,841
    Windows10

    Restoring VM shares


    Hi all,

    A while back a user (I think it was @slicendice) posted a regedit needed to enable the option to restore virtual machines which had been exported using the share button in vmconnect screen.

    I have clean installed, and it will not work now, saying I do not have permission (before it juts failed), and I suspect reason is I have not done the regedit. Unfortunately, I did not take a record of the regedit, and it is buried in a previous Insider build thread, and could not find it.

    So if anybody can help....

    Cheers

    C.
      My ComputerSystem Spec
  2.    4 Weeks Ago #2
    Join Date : Jan 2017
    Turku
    Posts : 1,768
    Windows 10 Pro IP Build 16299.19 (Branch: RS3 Release)

    Try to rename in registry:
    Code:
    Computer\HKEY_CLASSES_ROOT\HyperV.VMImport.1\shell\open
    to
    Code:
    Computer\HKEY_CLASSES_ROOT\HyperV.VMImport.1\shell\runas
    and see if it works.
      My ComputersSystem Spec
  3.    4 Weeks Ago #3
    Join Date : Dec 2015
    Posts : 5,841
    Windows10
    Thread Starter

    Quote Originally Posted by slicendice View Post
    Try to rename in registry:
    Code:
    Computer\HKEY_CLASSES_ROOT\HyperV.VMImport.1\shell\open
    to
    Code:
    Computer\HKEY_CLASSES_ROOT\HyperV.VMImport.1\shell\runas
    and see if it works.
    As our friends across the Pond say "You are dah man"!

    Worked first time.

    Have you fed this back to MS?

    Come to that, how did you ever find this out in the first place?
      My ComputerSystem Spec
  4.    4 Weeks Ago #4
    Join Date : Jan 2017
    Turku
    Posts : 1,768
    Windows 10 Pro IP Build 16299.19 (Branch: RS3 Release)

    Quote Originally Posted by cereberus View Post
    As our friends across the Pond say "You are dah man"!

    Worked first time.

    Have you fed this back to MS?

    Come to that, how did you ever find this out in the first place?


    I found this solution when I was trying to figure out how to run any type of registered files in elevated mode by only modifying the registry.

    Seems Windows is only looking for either an Open or RunAs command in the registry which is defined by the path. Open is the normal mode while RunAs elevates the command defined. Of course this also means you must be in the Administrators group in order for it to work.

    Glad I could help!
      My ComputersSystem Spec
  5.    4 Weeks Ago #5
    Join Date : Dec 2015
    Posts : 5,841
    Windows10
    Thread Starter

    Quote Originally Posted by slicendice View Post


    I found this solution when I was trying to figure out how to run any type of registered files in elevated mode by only modifying the registry.

    Seems Windows is only looking for either an Open or RunAs command in the registry which is defined by the path. Open is the normal mode while RunAs elevates the command defined. Of course this also means you must be in the Administrators group in order for it to work.

    Glad I could help!

      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Accessing default shares
I have two Windows 10 PCs on the same home network and I can't access the default shares on either one of them, I keep getting 'Access denied'. Any ideas?
Network and Sharing
Solved New router: Win10 Pro shares no longer visible, can't see other shares
I just switched to a new router (from DLink DIR-655 to TP-Link Archer C7) and now my Windows 10 Pro cannot see network shares nor can others on the network see its shares. Prior to the router switch, it could see shares and others could see the...
Network and Sharing
Can't connect to SMB shares from 7..?
Hello, I installed 10 on a PC with same username & pass as usual. Then from 7 I tried to reach d$ but it ask me pass & login, while normally it doesn't ask any (since it's the same!).. Can't understand that, would you please explain me/us..? Thanks!
Network and Sharing
Unable to see Win7.1 shares
Although I'm able to see my desktop computer in the network folder of my laptop I can't open it to see any of the shares! My desktop is a Win 7.1 Ultimate system fully up to date. My laptop was a Win 8.1 system and had no problems networking with...
Network and Sharing
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:55.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums