Article ID: 923357 - View products that this article applies to.
On a computer that is running a 64-bit version of Windows Server 2003, you cannot use the runas command to print from a 32-bit program in different user accounts in a single session.
This behavior occurs because the system uses the Splwow64.exe process to translate between 32-bit programs and the driver model of the 64-bit operating system. When the Splwow64.exe process is complete, this process remains in memory for a specified time-out period to increase system performance. When you use the runas command to start the 32-bit program, the Splwow64.exe process is available only to the first user until the specified period passes. This period is set by using a registry entry.
To work around this behavior, use one of the following methods.
Method 1Avoid using the runas command to print.
Method 2Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756To change the registry entry that controls the time-out period, follow these steps:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
On a computer that is running a 64-bit version of Microsoft Windows, only one user account may print from a 32-bit program in a session. In a session, the user account that prints first is the only user account in which a 32-bit process can print until a time-out occurs or the session ends. If another user account in the same session tries to print before the session ends, the user account receives an "Invalid Handle" error message. Additionally, the print request is unsuccessful.
More than one process may run in different user accounts in the same session. Examples include the following:
For more information about a similar issue in Windows Vista and in Windows Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/972616/LN/ )You cannot use the "runas" command to print from different user accounts in a single session from a 32-bit program on a computer that is running 64-bit version of Windows Server 2008 or Windows Vista
Article ID: 923357 - Last Review: July 31, 2012 - Revision: 2.0
Contact us for more help