Page 1 of 1

[SOLVED] Running a VBS as a user

Published: March 26, 2019 - 09:57
by mart03
- Installed WAPT version (1.7.3.5)
- Server OS (Linux) and version (Debian Stretch)
- Administration/package creation machine OS (Windows 10)

Hello,

I would like to run a VBScript as a logged-in user on the machine, not as an administrator like WAPT does.
Is it possible to do this?

My script needs to mount network drives, and the script does mount the drives, but as an administrator, so they are not visible to the logged-in user.

I hope I have been clear enough.

Thank you for your help.

Re: Running a VBS as a user

Published: March 28, 2019 - 08:42
by skoizer
To mount network drives, use the Microsoft Group Policy Object (GPO) tools.
https://www.supinfo.com/articles/single ... rveur-2012

Wapt is not designed for this.

Re: Running a VBS as a user

Published: March 28, 2019 - 4:54 PM
by vcardon
mart03 wrote: March 26, 2019 - 09:57 My script is supposed to mount network drives, and the script mounts the drives correctly but as an admin, so it is not visible to the user logged into the machine.
With a "session_setup", you should be able to achieve your goal.

see https://www.wapt.fr/fr/doc/wapt-create- ... nvironment

Sincerely.

Vincent