Run As command for the Server Admin Pack in Vista

Posted on 2009-02-18
Last Modified: 2012-06-21
I've just moved from an XP Pro machine to a Vista Business machine. I used to run the Admin Server Pack on my old machine, my normal domain account doesn't have admin rights so i have to right click and run as and run the program with my admin account. Now i've moved to Vista, when i attempt this it prompts me with the blackscreen security warning, and then when i click Continue, it just ran the program, so i turned UAC off and click run as, it just runs the program. I need it to ask me for my admin credentials. Any ideas?
Question by:tlcsupport
    LVL 11

    Accepted Solution

    Hrm... I would do the following:

    1.  Hold Window Key and R
    2.  When run dialog box opens type in "runas /user:domain_name\domain_admin cmd" without the quotes
         *Note - Replace domain_name with domain and domain_admin with your account with admin rights
    3.  Type in your admin password
    4.  This should open a command prompt with elevated rights.  In this window you can drag and drop the exe files you need or use command lines to get to what you need.
    5.  For your scenario, I would type in MMC and then add all the Snap Ins necessary such as DNS, ADUC, etc.

    Hopefully this helps!

    LVL 1

    Author Comment

    Yeah thats great, but it only runs it as that for that time, if i save the console then it saves it, but when i open that normally it runs with my permissions again, i need to find a way of being able to open the saved console with Admin Credentials.
    LVL 11

    Expert Comment

    If you have the admin-privileged window open, you can drag and drop whatever you need in there (including custom MMC's) to run it as an admin.  This is the same as right clicking and using RunAs so I don't believe there should be a problem.
    LVL 1

    Author Comment

    Well, its not what i wanted, but knowing Vista its probably the best, i've saved a copy of the MMC to the C:| drive so once i've got the Admin CMD open i just type "C:\AdminWindows.msc" and it opens. Thanks.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    The main issue when installing Vista and XP in dual boot is when you have to reinstall any of the two when something fails, let's say a hard disk failure, a lost partition, virus, etc. What commonly happens is that you lose all your hard work config…
    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now