Jump to content

Install Printer With Runas


Dizzy
 Share

Recommended Posts

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:

Link to comment
Share on other sites

  • 3 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...