Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Questions about Secondary Logon

Status
Not open for further replies.

y2k1981

Programmer
Joined
Aug 2, 2002
Messages
773
Location
IE
I have a few questions regarding the secondary logon service as I've never managed to get this to work very successfully.

Firstly, is it possible to run explorer.exe (ie windows explorer) as another user. I've beent old not because then you can view their files, but hey, not unless you have their password anyway - so what'd be the big deal !!

Second, we have 2 main domains in our forest, one is an "NT domain" the other is a mixed domain of 2000 & 2003. the domains both trust each other, however, when I try to run an MMC as the administrator of the other domain (the one my PC is NOT a member of) - it never works, it'll give a silly message like could not open console1.msc because the file doesn't exist.

Thirdly, how do I run the add printers wizard as another user. I can't right click it and when I run it, no extra process appears, so I'm guessing it's a module of explorer.exe?

Thanks in advance
 
y2k1981

I have a free application available on my site called RunAsUser.

This will allow you to run many things as an alternative user. I tested it with explorer.exe on a XP SP2 machine, however it would not run as an alternative user.

For your 3rd question my software would work correctly, you can start the add printer wizard by using the following command

rundll32 printui.dll,PrintUIEntry /il

If you enter this in the select file dialog of my software it will allow you to start the Printer Wizard as another user.

Greg Palmer
Free Software for Adminstrators
 
After looking into this a bit more I have come up with a possible solution to the first question about starting explorer.exe as another user.

Was this to open Windows Explorer, or something else? If it is Windows Explorer then there is a work around.

Using the software that I suggested above enter the following into the "Select File" dialog

c:\program files\internet explorer\iexplore.exe c:\

This then opens the C:\ drive as the user that you specified in the software and allows you to browse any drive as that user.

Greg Palmer
Free Software for Adminstrators
 
Note: my first thought above was directed to running the Printer and Faxes Wizard as another user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top