This message was deleted.
# citrix-vad
s
This message was deleted.
k
I think @Ray Davis and/or @Nick Panaccio did something, not AppLocker, to prevent this..
s
WEM can be used, but it's basically just applocker in itself. Why can't you use applocker?
n
You can use FSLogix app masking to block it
n
Yep, I used App Masking to create a hiding rule blocking the local folder, which was preventing the user based install from running:
👍 1
k
But didn't that result in the Teams install ended up i C:\ProgramData instead?
s
@Nick Panaccio do you have the same for OneDrive?
n
Not in my testing, no. The install would actually throw an error message.
I only hide the native OneDrive shortcut, nothing else.
All OneDrive startup tasks, etc. are removed via Citrix Optimizer.
s
OK because we are not ready to deploy machine installer of OneDrive and users are installing the user path way, so i thought this would also be possible to hide
we are using server 2019 and the user are downloading onedrive client from office.com
n
Oh, I'm sure you could hide the OneDrive executables. I just don't do it because the shortcuts are all hidden from the users, and it doesn't auto launch. We have the latest OD installed in the build.
Ahh, I see what you mean.
👍 1
s
Yes OneDrive is not installed on Server 2019 by default
n
I've never tried this method with that form of OneDrive, but I bet it could be done. I'd launch ProcMon and see what it's writing to initially. If you hide it and it forces the install to fail, there you go.
s
But it should be similar to Teams i think? (hiding rule)
n
Dunno for sure, but worth a look.
s
yes will try it thx
n
Maybe somebody else here will chime in later this morning when they wake up. There may be a cleaner way to handle it.
If it were me, I'd try to hide the path that OneDrive uses in the per-user installer to see if that will prevent it from actually installing.
k
The per-user OneDrive is installed in AppData\Local\Microsoft\OneDrive That folder also contains user based configuration, which the per-machine OneDrive is using
FYI
s
Thx kasper
👍 1
n
Yeah just create a hiding rule for “C:\users\*\appdata\local\microsoft\onedrive”. That stops the OneDriveSetup.exe launching. Though remember to remove the rule when you’re ready to deploy the system wide installer
👍 4
r
@Kasper Johansen In my testing it would go in program data as well. We blocked both with app masking.
👍 1
I would create the user folder in the Program data\microsoft\teams\%username%