Wednesday, May 6, 2009

Windows Administration From My Workstation

I've always wanted to know how to bring up a command console or Explorer window as an administrator with full privileges, instead of having to remote login to the server.  This link tells you how:
http://support.microsoft.com/kb/225035


Here's how to bring up a "remote" command shell on another Windows computer (you already need to have administrative privileges on it):
http://computer-vet.com/weblog/2008/01/28/remote-command-line-on-windows.html


I've already installed SQL Server tools on my workstation, so I can manage my SQL Server from there.  But today I figured out how to install the Active Directory MMC snap-in at my workstation.  The only catch is figuring out how to run it with administrator privileges (see above link.)  The following link explains how to install the AD snap-in at your local workstation:
http://forums.techarena.in/active-directory/694630.htm


After you run MMC and add the Active Directory Users & Computers snap-in, you can save the mmc console as an .msc file, move it to %windir%system32, and create a batch file to run it with one click from your start menu:


@ECHO OFF
runas /user:DOMAINadministrator "mmc AD.msc"


(Thanks, scripting guys.)

No comments:

Post a Comment

Thank you for your time and interest in this post!
Comments to this blog are sometimes moderated to prevent spam. Please don't be alarmed if your comment does not appear immediately.