VMware Horizon Community
sappomannoz
Hot Shot
Hot Shot

Profiles + Writable volumes - exclusions

Hullo,

it's possible to exclude some user dirs form the writable volume? I would like to exclude the downloads  folder so that it's contents are lost during logoff. I have seen that in the snapvol.cfg it possible to exclude dirs, but it's possible to use wildcards or environment variables there? Also is possible to configure exclusions via GPO or registry setting?

Reply
0 Kudos
7 Replies
sappomannoz
Hot Shot
Hot Shot

so...

in snapvol.cfg

exclude_path=\Users\%USERNAME%\Downloads

and

exclude_path=\Users\*\Downloads

have no effect.

hardcoding the username in snapvol.cfg like that

exclude_path=\Users\someusername\Downloads

has the effect to render Downloads inaccessible

Smiley Sad

Reply
0 Kudos
Ray_handels
Virtuoso
Virtuoso

Hey Sappo.

We redirect the downloads folder using GPO's to the home drive, could this be a possible solution?

And my guess is that the \ in front of the % is an issue and that you can only use variables as the first line (looking at the snapvol.cfg that seems to be the logic).

That would mean that excluding %USERPROFILE%\Downloads would do the trick. For the record, don't use the \ in front of the %USERPROFILE%, the rule would then be

exclude_path=%USERPROFILE%\Downloads

Reply
0 Kudos
sappomannoz
Hot Shot
Hot Shot

Hello Ray,

currently we have excluded Downloads form roaming profile and it's one of the directories that we are not redirecting, we keep them local and upon reboot it's gone.

But with app volumes it seems i will be forced to redirect it and to set a quota on it.

Reply
0 Kudos
Ray_handels
Virtuoso
Virtuoso

The %USERPROFILE%\Downloads didn't work??

Reply
0 Kudos
sappomannoz
Hot Shot
Hot Shot

Hullo Ray,

It's ignored Smiley Sad

Cristiano

Reply
0 Kudos
maharajan_be
Enthusiast
Enthusiast

Hello Sappomannoz, We are also looking for a solution to exclude Download folder.  Please let me know if you have find a solution for this.

Reply
0 Kudos
chris9111
Contributor
Contributor

The only quick way to do this, is point the downloads to a folder on the VDI (e.g. C:\programdata\downloads) and exclude this folder in the snapvol.cfg

Reply
0 Kudos