<p>Currently, installing VirtualHere with Windows GPO scripts fails, because of UI messages being shown (or at least they try to).<br />
Is there any command line switch to supress these messages?
</p>
<p>My script currently looks as follows:
</p>
<p>SET setuppath=%~dp0<br />
xcopy %setuppath%vhui.ini C:\Windows\System32\config\systemprofile\AppData\Roaming /d /Y<br />
start %setuppath%vhui64.exe -u<br />
start %setuppath%vhui64.exe -y<br />
start %setuppath%vhui64.exe -d
</p>
<p>What I would like to do (silently without user interaction, the script runs as "SYSTEM"):<br />
- remove old service<br />
- remove old drivers<br />
- install drivers<br />
- install service
</p>
<p>Thank you for your help.</p>
.
Yes use the
-r
argumentThanks a lot, I will have a
Thanks a lot, I will have a look. So far, there still seems to be UI interaction (can be seen in task bar while running the script manually), but we'll see if it works.
OK, still, the message popup
OK, still, the message popup is shown on windows startup, while the script is running.
The message looks like this (did not find an english version, sorry):
https://www.windows-faq.de/wp-content/uploads/2010/01/erkennung-interak…
So the "-r" parameter only suppresses the message dialogs, but there still is some kind of UI interaction.
.
Thats not my message, its coming from windows or something
I said, it looks "LIKE" this.
I said, it looks "LIKE" this. This is not my screenshot as I am out of office and using a mobile device to post here.
The path in my message dialog points to the vhui64 executable.
.
Yes but its windows saying that, its probably because you are installing it from a network drive and it needs admin permissions to run the driver installation.
Copy it to the c temp directory then run your script. Dont run it from a network drive
It's already running from "D:
It's already running from "D:\VirtualHere".
The script first copies the executable, then starts it with the parameters written in my first post.
Thank you for your fast help.
https://imgur.com/a/7g8GdNu
https://imgur.com/a/7g8GdNu
OK, this did not work. Shame
OK, this did not work. Shame on you, imgur.
Next try: https://ibb.co/Jv0jY0W
English version
Here's an English version of a similar popup:
https://superuser.com/questions/590472/what-may-have-caused-an-interact…
...if you click on "View
...if you click on "View Message" you should be taken to the session 0's desktop and see what the pop-up actually is, according to this answer on StackOverflow:
https://superuser.com/a/315093
.
Thanks marko, thats more helpful being in english.
Basically dont install it as system, install it from an admin user account.
Actually, there is no dialog
Actually, there is no dialog in session "0".
I will have a look into this, but as far as i know, GPOs always run as system.