Link to home
Start Free TrialLog in
Avatar of wguerram
wguerram

asked on

Printing using the Runas command in windows 2000

I have an Application, which i need to run using a user different of the current user, i have tool that use run as.

The application works fine, and access the database and network resources without a problem.

But when i try to print i don't have access to the printers, i get an error saying that there is no default printer.

I already logon with that user and configured the printers, but still doesn't work.

Is there a way to solve this?
ASKER CERTIFIED SOLUTION
Avatar of Bartender_1
Bartender_1
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wguerram
wguerram

ASKER

Hi Bartender, thanks for the answer, but i hace another problem also. this is what happes.

I have a domain user with administrative privileges, my application runas the administrator, although i am login with a specific user the application always run with the administrator user.

Only this user has access to the network resources, no other users have it.

 My Application export data to excel and opens excel automatically using automation, my problem is that excel runs also under the adminitrative account, i want to run excel under the current user not the impersonated user.

The problem still now is that the apis i have found requires the user password, i only know the user. is there some api or command that runs an application without specifying the password.
unfortunately, I don't know of anything that will run as a user without having to input their password.
I'll keep looking, and hope that either I find something useful, or someone ewlse has the answer for you.

:o)

Bartender_1