Sign in to follow this  
Followers 0
niftyapple

Running the AD snapin

3 posts in this topic

Hello everyone!

I've been searching the heck out of this issue and I just cant seem to find the answer. I will start off with saying sorry for not using the AD UDF by Water, and here's why.

So since my work has been migrating over to alt admin account setups, I have been looking to replace my morning ritual of signing into every program each time I start my machine. I understand most of these can be set using runas and using my alt account. I have already conquered all that, made a quick GUI with spiffy buttons (aid my coworkers to use the fruits of my labor). I add programs to a list and they all startup in an elevated priviledge. All that is all fine until I get to the Active Directory - Users and Computers snapin.

For the life of me, I can't get the runas to boot the AD snapin with admin priviledges whatsoever. When the run as sends, nothing happens - no errors. I have seen passed conversations(from a few years ago) where it was referenced to build your own interface for the AD using the UDF.

My question are: 

  • Why re-invent the wheel? The AD snapin is feature full. Everyone knows how to use it. Probably would be better than anything I can build.
  • Autoit is about making your life simpler, why go through another 500 lines of code when maybe 2 or 3 would do the trick?

I'm sure I could shell-execute it to work, but that goes back to step 1: having to manually enter credentials since shellexecute doesnt accept creditials as a parameter.

So, has anyone figured out how to swiftly execute the AD snapin with elevated priviledges of an alt account?

The system I am using is Win7 x64

Share this post


Link to post
Share on other sites



No replies? Im surprised, I always get at least something XD does anyone know if what I am asking is even possible or do I have hopes in all the wrong places?

Share this post


Link to post
Share on other sites

Please wait at least 24 hours before bumping a thread. This is not a 24-hours-support-foum. If no one knows a solution to your problem then there will be no reply, I fear.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0