Enabling remote desktop on Windows Server Core using the command line

 In VMWare

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

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search

Choosing the right storage for your virtual platform