Forum Discussion
Correct App detection rule File Path for User Folder
- Jun 27, 2022
Detection rules run as SYSTEM, not as user even if you deploy it as a user package. You have to use something outside a Users folder to detect the installation, I usually create a file in c:\programdata\customername\...\installed.txt and check on that to see if the installation succeeded
HiTungNguyen1600 ,
I have exactly the same VPN client to deploy in Intune but none of my scripts/win32app worked.
Would you mind sharing your settings please?
Thanks
Giuliano
- Oct 31, 2022Could you share how you configured the win32app
Install as user or system?
What did you configured as detection rule?- GiulianoITOct 31, 2022Copper Contributor
Hello Rudy_Ooms_MVP ,
Thanks for your reply.
I finally made it work!
These are my settings:
And the script is:
As I needed to copy the whole folder.
Interesting is if I set the install behaviour as System context, Intune will create another "user" (in users folder) with the device's name.
Thanks a gain!
Giuliano
- Nov 01, 2022Hi, yep thats the behavior that is expected when looking at the ime flow and how it tries to install/detect the app.
As mentioned in the reply above , the use rname variable works when choosing the user context.