Install RDP and change power config

This commit is contained in:
dinger1986 2021-01-10 17:44:23 +00:00 committed by GitHub
parent 1aa48c6d62
commit 6eff2c181e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
powercfg.exe /h off
powercfg /x -hibernate-timeout-ac 0
powercfg /x -hibernate-timeout-dc 0
@ -12,4 +11,4 @@ reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes
net localgroup "Remote Desktop Users" "%UserName%" /add
REM net localgroup "Remote Desktop Users" "%UserName%" /add