
Enabling remote desktop on Windows Server Core using the command line
Enabling remote desktop on Windows Server Core using the command line
During the building of server core instances of Windows server, you quite often want to connect to them afterwards using RDP (Remote Desktop Protocol). Console access to machines can be sluggish and tiresome, when trying to administer them. When we build server core instances for customers, we get the OS installed, get the networking running and as soon as those bits are complete, we enable remote desktop connections, and continue the build using RDP instead. It simply speeds up the process.
To enable remote desktop connections to a server using the command line
Code
Cscript %windir%\system32\SCRegEdit.wsf /ar 0
and press Enter.
To disable remote desktop connections to a server using the command line
Code
Cscript %windir%\system32\SCRegEdit.wsf /ar 1
and press Enter.
Enjoy
Recent Posts