Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Can't print HTML document using Runas with elevated privileges under Windows 8.1

$
0
0

Hi all,

i have a process, its job is to print an html file using ShellExecute and "print". I have to launch the process into a runas session (with Super Admin privileges) for specific reasons.

When I run it with runas, the print failed with the message "There was an internal error, and Internet Explorer is unable to print this document"... (previously i had an other message, but connecting to Super Admin account, and return to user one solves the problem)

When I launch the process with standard privileges the printing works.

The OS is Windows 8.1 pro 64 bits. Work on 8.1 32 bit

Thanks for help.



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>