Windows Vista -
Runas Command does not Work for Printing
Published on 12/10/2006
You cannot use the RUNAS command to print from a 32-bit program in different user accounts in a single session on a computer that is running a 64-bit version of Microsoft Windows.

Runas Command does not Work for Printing

Follow these steps to change the registry entry that controls the time-out period:

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then right-click the following registry subkey:
3. Point to New, and then click DWORD Value.
4. Type SplWOW64TimeOut as the registry entry name, and then press ENTER.
5. Double-click the SplWOW64TimeOut entry that you created in step 4.
6. Enter a value in the Value Data box, and then click OK.

The value that you enter in the Value Data box is the number of minutes that the system waits to unload the Splwow64.exe process. This period starts after the last 32-bit process prints and closes. Therefore, when a service process prints, the print capability is not released until the service closes and the time that you specify passes. For example, if you type 1 in the Value data box, and the last 32-bit process takes two minutes to print and close, the print capability is released after three minutes.