Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create an installer for users without administrative privileges?

0
Posted

How do I create an installer for users without administrative privileges?

0

To install printers, the installer needs administrative privileges. This can be done using the runas command. runas /user:Admin pdfMachine.exe Then enter the Admin users password. (runas does not allow the password to be specified as a command line parameter – see below for further information) Unfortunately, the standard pdfMachine.exe generates an error because it starts a background process running as the Admin user. To prevent this, you need to set installerStartBgProcess=0 in the bgsconf.ini file. bgsmsnd.exe must be running (as the user) for the user to successfully print to pdfMachine. When the runas command completes, you should then run the bgsmsnd.exe as the normal user.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123