Windows server 2016: print from web browser is prohibited from automated(non-RDP) user context.

L

lmellerAtOpentext

SW does not work under Windows server 2016 (Win32-based c++): printer does not receive print command from automated(using LogonUser) user context. IWebBrowser2, method ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, &vtEmpty, &vtEmpty);

Same SW works under Windows server 2012, 2008R2, 2003: Win32-based c++ software is using LogonUser to logon local users automatically and print from IWebBrowser2, method ExecWB as shown above.

Windows server 2016 allows such print only is the same IWebBrowser2, method ExecWB executed from RDP session when logon to the same local user credentials.

Continue reading...
 
Back
Top Bottom