Remotely manage Hyper-V 2016 via Windows 10

Hi guys again, If you want a fast server and if are you going to use only hyper-v server role, you can use hyper-v core. By the way, after installed windows server 2016 core, you are going to need some information at the below. I tested with my own experience and used it at one of my freelance projects. These informations are short and easy. Good lucks while working your works.

On the Hyper-V server

  • Install Hyper-V Server 2016 (without GUI)
  • Set server name
  • Enable Configure remote management
  • Enable Remote Desktop
  • Set server’s network IP address

Run PowerShell as Admin and run in sequence the commands at the below on your Server

Install-WindowsFeature Hyper-V

Enable-NetFireWallRule -DisplayName “Windows Management Instrumentation (DCOM-In)”

Enable-NetFireWallRule -DisplayGroup “Remote Event Log Management”

Enable-NetFireWallRule -DisplayGroup “Remote Service Management”

Enable-NetFireWallRule -DisplayGroup “Remote Volume Management”

Enable-NetFireWallRule -DisplayGroup “Windows Firewall Remote Management”

Enable-NetFireWallRule -DisplayGroup “Remote Scheduled Tasks Management”

Get-NetFirewallProfile | Set-NetFirewallProfile -enabled false

Enable-PSRemoting

Enable-WSManCredSSP -Role server

And run the last command on the management server to be done:

Enable-NetFirewallRule -DisplayGroup “Remote Volume Management.”

On the Client Machine (Windows 10)

You are going to do some changes to manage Hyper-V Server. And now Run PowerShell as Admin and run in sequence the commands at the below.

Enable-PSRemoting

Set-Item WSMan:\localhost\Client\TrustedHosts -Value ServerName

Enable-WSManCredSSP -Role client -DelegateComputer ServerName

Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All

cmdkey /add:ServerName /user:ServerAdministratorName /pass:ServerAdministratorPassword

Look at the picture at the below for example.

core server settings on windows 10

  • Change network type to Private
  • Add a DNS entry in your hostfile, for example “192.x.x.x ServerName“. After this process, be sure you can send ping packets from client to server.

ping hyper-v core server

  • Changed group policy: “Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow delegating fresh credentials with NTLM-only server authentication” by doing: “Click Enable and add wsman/ServerName”
  • Disabled firewall
  • dcomcnfg > COM SECURITY > Access Permissions > Edit Limits > Anonymous Login > ALLOW Remote Access

If you have done everything, you can connect to your core server successfully like this picture.

See you later in another article.

Hasan

Error: Download failed on Wsus Server

Hi guys,

I know I haven’t been publishing a new article in my blog for over a year. I don’t know why and wanted to write again. This article includes some tips. If you saw this error (Download failed on Wsus Server) on your wsus server, you can solve the problem easily. I’ll give you some information at the below and you can also follow step by step that I gave you informations. I doubt the source of the problem but I have an idea. Before you see the error, if you used the server cleanup wizard tool, this tool might be removed old updates on your wsus server. After then if you added a new client in your domain controller and if this client didn’t find updates for required own operating system over wsus server. It might be reason to the problem.

I offen use Psexec while working and I used it again to solve this problem. If you haven’t seen what is the psexec, you can see it by click here. It is very useful tool for IT staffs.

Please try the following steps on the client:

1. Start Windows PowerShell or Administrator Command Prompt run as Administrator.

2. Stop the Automatic Updates service and BITS service.

net stop wuauserv
net stop bits

3. Delete “%windir%\softwaredistribution” directory.

4. Start the Automatic Updates service and BITS service. When these two services have been started, they will auto-create “softwaredistribution” and its subfolder at system directory.

net start wuauserv
net start bits

5. After the “%windir%\softwaredistribution” directory has been generated, please let the client contact the WSUS server immediately.

wuauclt.exe /resetauthorization /detectnow

6. After 30 minutes, please check the client to confirm whether it detects needed updates.

Best regards

How to enable .NET Framework 3.5 by using with Windows PowerShell

Hi guys,

You can installation Net-Framework 3.5 with Powershell, this is a very simple process. Please follow step by step from below.

Start Windows PowerShell in the Administrator Command Prompt by typing:

powershell

To install .NET Framework 3.5 from installation media located on your computer, then use the following command:

Install-WindowsFeature Net-Framework-Core -source d:\sources\sxs

To verify installation, run the following command:

Get-WindowsFeature Net-Framework-Core

dotnet35withpowershellinstallation
The Install State column should show Installed for the .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature.

Thank you so much your reading

 

How to enable .NET Framework 3.5 by using with Windows PowerShell.

Have a nice day.