create – windows user accounts / enable mstsc

Windows

To add local user accounts.

net user test1 abc123 /ADD  ( This adds user account with username test1 and a password of abc123)

net localgroup administrators test1 /add    ( This give the new user admin rights.)

To delete accounts.

net user test1 /DELETE

#####################################################

To turn on remote access to the device. Adds the tick to Allow users to connect remotely to this computer.

paste this in.

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

To turn it back off after paste this in.

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s