reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Remote desktop disable (no need to reboot)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f
To enable Remote assistance:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fAllowToGetHelp /t REG_DWORD /d 1 /f
Allow RDP in Windows Firewall
netsh firewall set service type = remotedesktop mode = enable
------------------------------------------------------------------------------------------------
Get-MailboxDatabase -Status | ft Name,DatabaseSize,AvailableNewMailboxSpace