We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


Printing using the Runas command in windows 2000

wguerram asked
Medium Priority
Last Modified: 2012-06-22
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?
Watch Question

Microsoft Network Administrator
have you tried using the "profile" switch with the runas command?


runas /profile /env /user:<domain>\<username> "path\subdirectory\executable.exe"

Hope this helps!



Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


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.
Bartender_1Microsoft Network Administrator

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.


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.