Home > Microsoft Windows > Windows 2008 Server – Tips on Remote Desktop & RunAs

Windows 2008 Server – Tips on Remote Desktop & RunAs

Couple of tips when working with Windows 2008 Server (apply to other Operating Systems as well):
 
Remote Desktop – /console now /admin
 
You can use the new /admin switch to remotely connect to a Windows Server 2008-based server for administrative purposes. The /admin switch is introduced with RDC 6.1. So use this instead of /console. There are also some fundamental changes to Remote Administration, for more info you can read the really good article posted by the Terminal Services team: http://blogs.msdn.com/ts/archive/2007/12/17/changes-to-remote-administration-in-windows-server-2008.aspx
 
There are also some operating systems affected by this remote administration change and will also require the /admin switch command. These are:
  • Windows Vista Service Pack 1 (SP1) Beta and RC
  • Windows XP Service Pack 3 (SP3) Beta and RC
Run As
 
Want to do the runas option with Windows 2008 server? Well you can use this handy command-line Runas utility is for launching programs under different accounts.  Head over to this link and take advantage of the command: http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx
 
ShellRunas works on Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP.
 
Using ShellRunas

Usage: shellrunas [/reg | [/quietreg ] | /regnetonly [/quiet] | unreg | [/netonly] <program> <arguments>

/reg  Registers ShellRunas shell context-menu entry
/regnetonly Registers Shell /netonly context-menu entry. Note: a command prompt will flash when the program starts
/unreg Unregisters ShellRunas shell context-menu entry
/quiet Register or unregisters ShellRunas shell context-menu entry without result dialog
/netonly Use if specified credentials are for remote access only
<program> Runs program with specified credentials and parameters
 
Enjoy!

Greg Olsen
Yellow Duck Guy

Advertisements
Categories: Microsoft Windows
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: