Skip to content

Instantly share code, notes, and snippets.

@bp2008
Last active January 22, 2025 13:21

Revisions

  1. bp2008 revised this gist Sep 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -114,4 +114,4 @@ The output conveniently includes the certificate's Thumbprint, which you can cop

    Now that Windows Admin Center is installed, you can use it for most remote management tasks by navigating to your server's IP or host name in a web browser. To authenticate, enter the user name `Administrator` and the password you used when you first set up the server.

    For more-advanced management, it may be necessary to install Hyper-V Manager on another Windows system and connect remotely to the Hyper-V server, which of course is a pain in the ass. https://timothygruber.com/hyper-v-2/remotely-managing-hyper-v-server-in-a-workgroup-or-non-domain/
    For more-advanced management, such as to pass through a physical device to a VM, it may be necessary to install Hyper-V Manager on another Windows system and connect remotely to the Hyper-V Server, which of course is a pain in the ass. https://timothygruber.com/hyper-v-2/remotely-managing-hyper-v-server-in-a-workgroup-or-non-domain/
  2. bp2008 revised this gist Sep 8, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -112,4 +112,6 @@ The output conveniently includes the certificate's Thumbprint, which you can cop

    # Remote Management

    Now that Windows Admin Center is installed, you can use it for most remote management tasks by navigating to your server's IP or host name in a web browser. To authenticate, enter the user name `Administrator` and the password you used when you first set up the server.
    Now that Windows Admin Center is installed, you can use it for most remote management tasks by navigating to your server's IP or host name in a web browser. To authenticate, enter the user name `Administrator` and the password you used when you first set up the server.

    For more-advanced management, it may be necessary to install Hyper-V Manager on another Windows system and connect remotely to the Hyper-V server, which of course is a pain in the ass. https://timothygruber.com/hyper-v-2/remotely-managing-hyper-v-server-in-a-workgroup-or-non-domain/
  3. bp2008 revised this gist Sep 8, 2019. No changes.
  4. bp2008 revised this gist Sep 8, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ Run Chrome
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    ```

    ## Step 2) Install the 3rd-party desktop environment, Cairo
    ## Step 2) Install Cairo (3rd-party desktop environment)

    In Chrome, open `https://cairoshell.com/`, and download the latest 64 bit Cairo installer from GitHub. When the download completes, use Chrome to launch the Cairo setup executable. I don't know if it matters, but in Cairo setup, I checked the box to Replace Explorer.

    @@ -70,7 +70,7 @@ Run **7-Zip** from the **Programs** menu, and in **7-Zip**'s options, click the

    Close 7-Zip.

    ## Step 4) Install the 3rd-party file explorer, Explorer++
    ## Step 4) Install Explorer++ (3rd-party file explorer)

    In Chrome, open `https://explorerplusplus.com/`

  5. bp2008 revised this gist Sep 8, 2019. 1 changed file with 37 additions and 2 deletions.
    39 changes: 37 additions & 2 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,13 @@
    # Hyper-V Server 2019 GUI Installation Guide

    ## Introduction

    Hyper-V Server does not include much in the way of [graphical tools](https://gist.github.com/bp2008/65beb8d50d28e26c7ed83e4b5a70f688), but third-party alternatives can be installed.

    I found a disturbing lack of basic instructions for using Hyper-V Server 2019, so it is my hope that this guide is useful to somebody.

    Before starting this guide, enable Remote Desktop support in Hyper-V Server using the built-in configuration menu. If you connect to the Hyper-V Server with Remote Desktop, it will make it easy to copy and paste text (and later, files) from a normal Windows desktop machine.

    ## Step 1) Install Chrome

    In the command prompt on the Hyper-V server, run this command:
    @@ -19,6 +24,8 @@ Find a current Chrome setup URL by downloading it in the web browser on a "norma
    (New-Object System.Net.WebClient).DownloadFile("YOUR_CHROME_SETUP_URL", "ChromeSetup.exe")
    ```

    (hint: to paste text in a command/powershell window, right-click)

    Now exit Powershell

    ```
    @@ -43,7 +50,7 @@ Run Chrome

    In Chrome, open `https://cairoshell.com/`, and download the latest 64 bit Cairo installer from GitHub. When the download completes, use Chrome to launch the Cairo setup executable. I don't know if it matters, but in Cairo setup, I checked the box to Replace Explorer.

    Proceed through Cairo's welcome tour. When it asks which apps you want to include in the Programs menu, make sure Chrome goes in there.
    Proceed through Cairo's welcome tour. When it asks which apps you want to include in the Programs menu, make sure you add Chrome and PowerShell.

    ### Re-launching Cairo

    @@ -75,6 +82,34 @@ In Cairo Settings (Menu button in upper-left corner), Advanced, set the **File m

    Add **Explorer++** to Cairo's Programs menu, similar to how you added **7-Zip** earlier. You'll notice that **Explorer++** does not appear as an installed application in **App Grabber**. Instead, you must click the **Browse…** button to locate **Explorer++** where you extracted it.

    ## Step 5) Install Windows Admin Center
    ## Step 5) Install Windows Admin Center (WAC)

    In Chrome, open `https://aka.ms/windowsadmincenter`

    Download the latest stable release (I wouldn't recommend a preview version unless you have a specific reason).

    Run the installer.

    When you get to the part about SSL and a certificate, you can either use the self-signed option or add your own. I prefer to add my own so I can have my desktop PC trust it and no longer get browser warnings when accessing the interface via HTTPS. Add your own certificate or not, then complete the installation.

    ### How I added my own certificate

    To generate certificates, I used [this tool](https://github.com/bp2008/SSL-Certificate-Maker) to create a `HyperV1.pfx` file with my server's host name `HyperV1` in the list of domain names. Then I copied and pasted the pfx file from my normal workstation, through remote desktop, to the `C:\Users\Administrator\Documents` folder on the Hyper-V server.

    Next, I opened a PowerShell window on the Hyper-V Server, and navigated to the Documents folder.

    ```
    cd "C:\Users\Administrator\Documents"
    ```

    Then I used [Import-PfxCertificate](https://docs.microsoft.com/en-us/powershell/module/pkiclient/import-pfxcertificate?view=win10-ps) to import the certificate into the server's certificate store.

    ```
    Import-PfxCertificate -FilePath HyperV1.pfx -CertStoreLocation Cert:\LocalMachine\My
    ```

    The output conveniently includes the certificate's Thumbprint, which you can copy by selecting the thumbprint with the mouse and pressing **enter**. Back in the Windows Admin Center installer, I pasted this thumbprint in the appropriate text box, and proceeded with installation

    # Remote Management

    Now that Windows Admin Center is installed, you can use it for most remote management tasks by navigating to your server's IP or host name in a web browser. To authenticate, enter the user name `Administrator` and the password you used when you first set up the server.
  6. bp2008 revised this gist Sep 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ Run Chrome

    In Chrome, open `https://cairoshell.com/`, and download the latest 64 bit Cairo installer from GitHub. When the download completes, use Chrome to launch the Cairo setup executable. I don't know if it matters, but in Cairo setup, I checked the box to Replace Explorer.

    Proceed through Cairo's welcome tour.
    Proceed through Cairo's welcome tour. When it asks which apps you want to include in the Programs menu, make sure Chrome goes in there.

    ### Re-launching Cairo

  7. bp2008 revised this gist Sep 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ## Introduction
    Hyper-V Server does not include much in the way of [graphical tools](https://gist.github.com/bp2008/65beb8d50d28e26c7ed83e4b5a70f688), but third-party alternatives can be installed.

    I found a disturbing lack of basic instructions for using Hyper-V server, so it is my hope that this guide is useful to somebody.
    I found a disturbing lack of basic instructions for using Hyper-V Server 2019, so it is my hope that this guide is useful to somebody.

    ## Step 1) Install Chrome

  8. bp2008 revised this gist Sep 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ Powershell

    This loads Powershell which gives us many additional capabilities, including the ability to download files.

    Find a current Chrome setup URL by downloading it in the web browser on a "normal" computer, and looking in your browser's download history. Then, run this command, replacing YOUR_CHROME_SETUP_URL with the URL you found.
    Find a current Chrome setup URL by downloading it in the web browser on a "normal" computer, and looking in your browser's download history. Then, back on the Hyper-V server, run this command, replacing YOUR_CHROME_SETUP_URL with the URL you found.

    ``` ps
    (New-Object System.Net.WebClient).DownloadFile("YOUR_CHROME_SETUP_URL", "ChromeSetup.exe")
  9. bp2008 revised this gist Sep 8, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ Powershell

    This loads Powershell which gives us many additional capabilities, including the ability to download files.

    Find a current Chrome setup URL by downloading it in your web browser, and looking in your browser's download history. Then, run this command, replacing YOUR_CHROME_SETUP_URL with the URL you found.
    Find a current Chrome setup URL by downloading it in the web browser on a "normal" computer, and looking in your browser's download history. Then, run this command, replacing YOUR_CHROME_SETUP_URL with the URL you found.

    ``` ps
    (New-Object System.Net.WebClient).DownloadFile("YOUR_CHROME_SETUP_URL", "ChromeSetup.exe")
    @@ -75,4 +75,6 @@ In Cairo Settings (Menu button in upper-left corner), Advanced, set the **File m

    Add **Explorer++** to Cairo's Programs menu, similar to how you added **7-Zip** earlier. You'll notice that **Explorer++** does not appear as an installed application in **App Grabber**. Instead, you must click the **Browse…** button to locate **Explorer++** where you extracted it.

    ## Step 5) Install Windows Admin Center

    In Chrome, open `https://aka.ms/windowsadmincenter`
  10. bp2008 revised this gist Sep 8, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -57,9 +57,9 @@ If you ever find that the Cairo shell isn't running when you log in, you can lau

    In Chrome, open `https://www.7-zip.org`, then download and install 7-Zip 64-bit. I used the .exe installer.

    Back in Cairo, click your `Programs` menu, and choose `App Grabber`. Add 7-Zip to your programs menu.
    Back in Cairo, click your **Programs** menu, and choose **App Grabber**. Add **7-Zip** to your programs menu.

    Run 7-Zip from the `Programs` menu, and in 7-zip's options, click the plus button to associate 7-Zip with all supported file types.
    Run **7-Zip** from the **Programs** menu, and in **7-Zip**'s options, click the plus button to associate **7-Zip** with all supported file types.

    Close 7-Zip.

    @@ -73,6 +73,6 @@ In 7-Zip, extract **Explorer++.exe** to `C:\Explorer++\Explorer++.exe`.

    In Cairo Settings (Menu button in upper-left corner), Advanced, set the **File manager** path to `C:\Explorer++\Explorer++.exe`.

    Add **Explorer++** to Cairo's Programs menu, similar to how you added **7-Zip** earlier. You'll notice that **Explorer++** does not appear as an installed application in `App Grabber`. Instead, you must click the `Browse…` button to locate **Explorer++** where you extracted it.
    Add **Explorer++** to Cairo's Programs menu, similar to how you added **7-Zip** earlier. You'll notice that **Explorer++** does not appear as an installed application in **App Grabber**. Instead, you must click the **Browse…** button to locate **Explorer++** where you extracted it.


  11. bp2008 revised this gist Sep 8, 2019. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -53,26 +53,26 @@ If you ever find that the Cairo shell isn't running when you log in, you can lau
    "C:\Program Files\Cairo Shell\CairoDesktop.exe"
    ```

    ## Step 3) Install 7-zip
    ## Step 3) Install 7-Zip

    In Chrome, open `https://www.7-zip.org`, then download and install 7-zip 64-bit. I used the .exe installer.
    In Chrome, open `https://www.7-zip.org`, then download and install 7-Zip 64-bit. I used the .exe installer.

    Back in Cairo, click your `Programs` menu, and choose `App Grabber`. Add 7-zip to your programs menu.
    Back in Cairo, click your `Programs` menu, and choose `App Grabber`. Add 7-Zip to your programs menu.

    Run 7-zip from the `Programs` menu, and in 7-zip's options, click the plus button to associate 7-zip with all supported file types.
    Run 7-Zip from the `Programs` menu, and in 7-zip's options, click the plus button to associate 7-Zip with all supported file types.

    Close 7-zip.
    Close 7-Zip.

    ## Step 4) Install the 3rd-party file explorer, Explorer++

    In chrome, open `https://explorerplusplus.com/`
    In Chrome, open `https://explorerplusplus.com/`

    Download the 64 bit version.

    Extract the exe to `C:\Explorer++\Explorer++.exe`.
    In 7-Zip, extract **Explorer++.exe** to `C:\Explorer++\Explorer++.exe`.

    In Cairo Settings (Menu button in upper-left corner), Advanced, set the File manager path to `C:\Explorer++\Explorer++.exe`.
    In Cairo Settings (Menu button in upper-left corner), Advanced, set the **File manager** path to `C:\Explorer++\Explorer++.exe`.

    If you try to add Explorer++ to Cairo's `App Grabber`, you'll notice that Explorer++ does not appear as an installed application. Instead, you must click the `Browse…` button to locate Explorer++ where you extracted it.
    Add **Explorer++** to Cairo's Programs menu, similar to how you added **7-Zip** earlier. You'll notice that **Explorer++** does not appear as an installed application in `App Grabber`. Instead, you must click the `Browse…` button to locate **Explorer++** where you extracted it.


  12. bp2008 revised this gist Sep 8, 2019. 1 changed file with 11 additions and 3 deletions.
    14 changes: 11 additions & 3 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -39,13 +39,21 @@ Run Chrome
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    ```

    ## Install the 3rd-party desktop environment, Cairo
    ## Step 2) Install the 3rd-party desktop environment, Cairo

    In Chrome, open `https://cairoshell.com/`, and download the latest 64 bit Cairo installer from GitHub. When the download completes, use Chrome to launch the Cairo setup executable. I don't know if it matters, but in Cairo setup, I checked the box to Replace Explorer.

    Proceed through Cairo's welcome tour.

    ## Install 7-zip
    ### Re-launching Cairo

    If you ever find that the Cairo shell isn't running when you log in, you can launch it with the command:

    ```
    "C:\Program Files\Cairo Shell\CairoDesktop.exe"
    ```

    ## Step 3) Install 7-zip

    In Chrome, open `https://www.7-zip.org`, then download and install 7-zip 64-bit. I used the .exe installer.

    @@ -55,7 +63,7 @@ Run 7-zip from the `Programs` menu, and in 7-zip's options, click the plus butto

    Close 7-zip.

    # Install the 3rd-party file explorer, Explorer++
    ## Step 4) Install the 3rd-party file explorer, Explorer++

    In chrome, open `https://explorerplusplus.com/`

  13. bp2008 revised this gist Sep 8, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    ## Introduction
    Hyper-V Server does not include much in the way of [graphical tools](https://gist.github.com/bp2008/65beb8d50d28e26c7ed83e4b5a70f688), but third-party alternatives can be installed.

    I found a disturbing lack of basic instructions for using Hyper-V server, so it is my hope that this guide is useful to somebody.

    ## Step 1) Install Chrome

    In the command prompt on the Hyper-V server, run this command:
  14. bp2008 revised this gist Sep 8, 2019. 1 changed file with 58 additions and 3 deletions.
    61 changes: 58 additions & 3 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,67 @@
    Hyper-V Server does not include much in the way of [graphical tools](https://gist.github.com/bp2008/65beb8d50d28e26c7ed83e4b5a70f688), but third-party alternatives can be installed.

    ## Step 1) Install Chrome
    Find a current Chrome setup URL by downloading it in your web browser, and looking in your browser's download history.

    In the command prompt on the Hyper-V server, type `Powershell` and press enter. This loads Powershell which gives us many additional capabilities.
    In the command prompt on the Hyper-V server, run this command:

    Then, run this command, replacing YOUR_CHROME_SETUP_URL with the correct URL you found earlier.
    ```
    Powershell
    ```

    This loads Powershell which gives us many additional capabilities, including the ability to download files.

    Find a current Chrome setup URL by downloading it in your web browser, and looking in your browser's download history. Then, run this command, replacing YOUR_CHROME_SETUP_URL with the URL you found.

    ``` ps
    (New-Object System.Net.WebClient).DownloadFile("YOUR_CHROME_SETUP_URL", "ChromeSetup.exe")
    ```

    Now exit Powershell

    ```
    exit
    ```

    Run ChromeSetup.exe

    ```
    ChromeSetup.exe
    ```

    Complete the installation using the setup GUI.

    Run Chrome

    ```
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    ```

    ## Install the 3rd-party desktop environment, Cairo

    In Chrome, open `https://cairoshell.com/`, and download the latest 64 bit Cairo installer from GitHub. When the download completes, use Chrome to launch the Cairo setup executable. I don't know if it matters, but in Cairo setup, I checked the box to Replace Explorer.

    Proceed through Cairo's welcome tour.

    ## Install 7-zip

    In Chrome, open `https://www.7-zip.org`, then download and install 7-zip 64-bit. I used the .exe installer.

    Back in Cairo, click your `Programs` menu, and choose `App Grabber`. Add 7-zip to your programs menu.

    Run 7-zip from the `Programs` menu, and in 7-zip's options, click the plus button to associate 7-zip with all supported file types.

    Close 7-zip.

    # Install the 3rd-party file explorer, Explorer++

    In chrome, open `https://explorerplusplus.com/`

    Download the 64 bit version.

    Extract the exe to `C:\Explorer++\Explorer++.exe`.

    In Cairo Settings (Menu button in upper-left corner), Advanced, set the File manager path to `C:\Explorer++\Explorer++.exe`.

    If you try to add Explorer++ to Cairo's `App Grabber`, you'll notice that Explorer++ does not appear as an installed application. Instead, you must click the `Browse…` button to locate Explorer++ where you extracted it.


  15. bp2008 created this gist Sep 8, 2019.
    13 changes: 13 additions & 0 deletions HyperVServer2019_GUI_Installation.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ## Introduction
    Hyper-V Server does not include much in the way of [graphical tools](https://gist.github.com/bp2008/65beb8d50d28e26c7ed83e4b5a70f688), but third-party alternatives can be installed.

    ## Step 1) Install Chrome
    Find a current Chrome setup URL by downloading it in your web browser, and looking in your browser's download history.

    In the command prompt on the Hyper-V server, type `Powershell` and press enter. This loads Powershell which gives us many additional capabilities.

    Then, run this command, replacing YOUR_CHROME_SETUP_URL with the correct URL you found earlier.

    ``` ps
    (New-Object System.Net.WebClient).DownloadFile("YOUR_CHROME_SETUP_URL", "ChromeSetup.exe")
    ```