Unless you are learning the requirements, it is recommended that you use Windows LTSB 2016 or other desktop systems.
Github:https://github.com/m2nlight/windowsservertowindowsdesktop
Its function is to automatically start the audio service, allow not logged off, disable the Ctrl+alt+del logon system, disable the power off when the shutdown reason, CPU performance excellent program, IE security Policy, logon unrealistic Server Manager, disable password obfuscation and length requirements, the current user password never expires, Install BitLocker, Direct-play, wireless networking, premium windows audio and video experience components.
Copy the script to the desktop and ask for administrator privileges, go to run, enter Y to start the configuration, reboot the system, demonstrate the effect
The script is as follows:
1 @echo off2 pushd%~dp03 Setgpfile=Temp_gpfile4 SetCurrentuser=%username%5 if"%currentuser%" = = ""SetCurrentuser=Administrator6 Echowindows Server to Windows Desktop7 Echo=================================8PowerShell/Command"&{get-wmiobject-class Win32_OperatingSystem | Select-object-expandproperty Caption} "9 EchoCurrent Domain:%userdomain%Ten EchoCurrent User:%currentuser% One Echo. A Set/p Tmpinput=maybe'll restart computer. Is it ready? (y/n): - if"%tmpinput%" = = "Y"Goto : START - if"%tmpinput%" = = "Y"Goto : START the EchoCanelled. - EchoPress any key toExit... - Pause>nul - Goto : END + : START - Echo(1/3)Config Service + Echo-Automatic Audio Server APowerShell/Command"&{import-module Servermanager}" atPowerShell/Command"&{set-service" Audiosrv "-startuptype Automatic}" - Echo(2/3)Config Registry and GroupPolicy - Echo-Shutdown without logon -REG ADD hklm\software\microsoft\windows\currentversion\policies\system/v shutdownwithoutlogon/t reg_dword/d 1/f>nul - Echo-Disable ctrl+alt+Del -REG ADD hklm\software\microsoft\windows\currentversion\policies\system/v disablecad/t reg_dword/d 1/f>nul in Echo-Disable Shutdown Reason on -REG ADD "HKLM\Software\Policies\Microsoft\Windows nt\reliability"/V shutdownreasonon/t reg_dword/d 0/f>nul to Echo-CPU Priority for Program +REG ADD hklm\system\currentcontrolset\control\prioritycontrol/v win32priorityseparation/t reg_dword/d 38/f>nul - Echo-IE Security Policy theREG ADD "Hklm\software\microsoft\active setup\installed components\{a509b1a7-37ef-4b3f-8cfc-4f3a74704073}"/V isinstalled/t reg_dword/d 0/f>nul *REG ADD "Hklm\software\microsoft\active setup\installed components\{a509b1a8-37ef-4b3f-8cfc-4f3a74704073}"/V isinstalled/t reg_dword/d 0/f>nul $Rundll32 Iesetup.dll,iehardenlmsettingsPanax NotoginsengRundll32 Iesetup.dll,IEHardenUser -Rundll32 Iesetup.dll,IEHardenAdmin the Echo-No autorun Server Manager +REG ADD hklm\software\microsoft\servermanager/v donotopenservermanageratlogon/t reg_dword/d 1/f>nul A Echo-Disable Password complexity and Minimum Password length the Echo[Version]>%gpfile%.inf + EchoSignature= "$CHICAGO $" >>%gpfile%.inf - Echo[System access]>>%gpfile%.inf $ EchoMinimumpasswordlength = 0 >>%gpfile%.inf $ Echopasswordcomplexity = 0 >>%gpfile%.inf -secedit/configure/db%gpfile%.sdb/cfg%gpfile%.inf/log%gpfile%.log>nul 2>nul - del%gpfile%.inf%gpfile%.sdb%gpfile%.log%gpfile%.jfm/f/Q the Echo-%currentuser% ' s Password nerver expires -wmicPathWin32_UserAccount Where name= "%currentuser%"Setpasswordexpires= "FALSE" >nulWuyi Echopasswordexpires List: theWMIC UserAccount get Name,Passwordexpires - Echo(3/3)Config Windows Feature Wu Echo-BitLocker - Echo-Direct-play About Echo-Wireless-networking $ Echo-QWave - EchoPlease wait ... -PowerShell/Command"&{install-windowsfeature" BitLocker "," Direct-play "," wireless-networking "," QWave "-restart}" - Echocompleted! A EchoPress any key toExit... + Pause>nul the : END -popd
Other manual configuration: see the GitHub Readme.
Automatic configuration script for Windows Server 2016 desktop environment