📜 ⬆️ ⬇️

Using HYPER-V server without a domain

So, a situation has arisen to use the HYPER-V server without entering the domain itself, as you know (breaking a bunch of Internet) this cannot be done without using the domain, well, or somehow clumsily, that you can install something to go under another user, etc. I propose the following version, successfully tried by me and successfully implemented!

So:

What we need:
')
1. Windows Server 2008 or Windows 7 + RRAS (I will not tell you how to install the HYPER-V server administration component)
2. Built-in runas utility

Go:

1. Create a text file START_HYPER-V.bat
In it we will write the following lines:
cd %ProgramFiles%\Hyper-V\
runas /profile /env /user:master "mmc virtmgmt.msc"

save ...
2. Next, create on the local machine the same user with the same password as on the HYPER-V server that we are going to manage (we call it master ). It turns out that we have a user with the login master on the HYPER-V server and the same user with the same password on the local machine.
3. Run our created START_HYPER-V.bat
4. Enter the master user password
5. Enjoy this picture ...

Shl. Having added the key / savecred to the startup parameters, we will need to enter the master password only once, and subsequent launches will automatically use our entered password.

Source: https://habr.com/ru/post/101561/


All Articles