Forum Discussion
TungNguyen1600
Jun 27, 2022Copper Contributor
Correct App detection rule File Path for User Folder
Hi Guys, I have deployed a file to the user's folder, but I don't think I have the correct syntax for the "Current User", I have tried: %username% %userprofile% But Intune doesn't like t...
- 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
Oct 31, 2022
Could you share how you configured the win32app
Install as user or system?
What did you configured as detection rule?
Install as user or system?
What did you configured as detection rule?
GiulianoIT
Oct 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.