Forum Discussion

TungNguyen1600's avatar
TungNguyen1600
Copper Contributor
Jun 27, 2022
Solved

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...
  • Harm_Veenstra's avatar
    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

Resources