VMware Horizon Community
Troy_Clavell
Immortal
Immortal
Jump to solution

Command Line Install to now DISABLE USB Ridirection (VDM Client)... We figured out the enable.

Does anyone know how to get this accomplished?

we can install it without USB redirection enabled

vdmclient-2.1.0-596.exe /s /v/qn""ADDLOCAL=Core DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0",0,True

...but not enabled.

any help is appreciated.

Reply
0 Kudos
1 Solution

Accepted Solutions
mittim12
Immortal
Immortal
Jump to solution

Let me guess. Your trying to get the VDM Web Access to auto install the full client instead of the client without USB redirection? The command below worked for us when we did this.

run=%%EXTRACT_DIR%%\VMware-vdmclient-2.1.0-596.exe /S /V"""/qb DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0"""

If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

View solution in original post

Reply
0 Kudos
9 Replies
mittim12
Immortal
Immortal
Jump to solution

Let me guess. Your trying to get the VDM Web Access to auto install the full client instead of the client without USB redirection? The command below worked for us when we did this.

run=%%EXTRACT_DIR%%\VMware-vdmclient-2.1.0-596.exe /S /V"""/qb DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0"""

If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

Reply
0 Kudos
mittim12
Immortal
Immortal
Jump to solution

I guess it helps to read the Subject of the post first Smiley Happy Anyway's we used the above commands to modify the Web Access installer to install using USB Redirection so it may work from a command line scenario as well. Good Luck.

If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

Troy_Clavell
Immortal
Immortal
Jump to solution

to me, it appears the command you posted will do the default installs, we can accomplish that.

yours: run=%%EXTRACT_DIR%%\VMware-vdmclient-2.1.0-596.exe /S /V"""/qb DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0"""

mine: vdmclient-2.1.0-596.exe /s /v/qn""ADDLOCAL=Core DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0",0,True

aren't they the same??

Reply
0 Kudos
mittim12
Immortal
Immortal
Jump to solution

to me, it appears the command you posted will do the default installs, we can accomplish that.

yours: run=%%EXTRACT_DIR%%\VMware-vdmclient-2.1.0-596.exe /S /V"""/qb DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0"""

mine: vdmclient-2.1.0-596.exe /s /v/qn""ADDLOCAL=Core DESKTOP_SHORTCUT=0 QUICKLAUNCH_SHORTCUT=0 STARTMENU_SHORTCUT=0",0,True

aren't they the same??

Yours has the ADDLOCAL=Core which I think specifies only install core components which means no USB redirection.

If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

Troy_Clavell
Immortal
Immortal
Jump to solution

so i ran mine again, which enabled usb direction by default, and yours. Both installs have USB redirection enabled. So, I guess that is good.

So, now the question is how do I command line install so that USB redirection is not installed by default.

Reply
0 Kudos
mittim12
Immortal
Immortal
Jump to solution

Not sure, In all of my testing when the install was performed with the ADDLocal=core flag then I had no devices menu available in my VDM client. I was only able to have the Devices menu present (USB Installed) when i removed the ADDLOCAL=core flag. Of course my testing was done with the auto install from the web access but it shouldn't matter since they are using the same exe.

If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

I agree, what you are saying makes sense. I uninstalled the VDM client again, checked device manager to make sure the USB piece was not there, and it wasn't, ran my install again, looked in device manager and found the USB device, removed it again, check device manager to make sure the USB driver was not there, it wasn't, ran the install again (minus the ADDLocal=core flag), checked device manager and noticed the USB driver came back.

If I find out now, how to remove the USB redirection with command line installs, I'll post back.

Thanks for your helps

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

well... We have decided that leaving it enabled by default is a good thing, simply because all the components are installed. We don't want all users being able to use USB redirection, so what we have done, as a work around, is on our template that has the VDM agent installed we renamed the wssm_usb.dll located in c:\Program Files\VMware\VMware VDM\Agent\bin.

So on a as needed basis, we would run a script that renames that wssm_usb.dll back to it's correct name and viola, USB redirection enabled.

Reply
0 Kudos
grale22
Contributor
Contributor
Jump to solution

Had anyone managed to make this work on a later version of View? Getting some user issues where the install fails and rolls back due to the USB redirect. If that is removed from the install it works ok.

Any suggestions of how to change the installation to disable USB redirect?

Thanks.

Reply
0 Kudos