Sign in to follow this  
Followers 0
Dizzy

Install Printer With Runas

3 posts in this topic

Hello!

I've got a little Problem. B)

I am at a custumer and he uses xp-clients with restricted rights.

Now a standard user should be install a printer without knowing the admin-pw.

I've tried to run the wizard with runas but it seems, that another prozess will be used to install the drivers. :whistle:

I've tried to start following with runas:

**************************************************

; Set the RunAs parameters to use local adminstrator account

RunAsSet("administrator", @Computername, "pass")

; Run rundll as admin

RunWait("rundll32 shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")

; Reset RunAs

RunAsSet()

***************************************************

Does anyone know which second prozess will be started and how i can fix that problem?

Thx for every solution! :angry:

Share this post


Link to post
Share on other sites



:whistle: Great - this looks good - i'll have to test it!

Thx!

B)

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