Share via


Detection Method for User Profile

Question

Thursday, December 12, 2019 9:14 AM

Hello Guys,

I Have created a Bat script to copy a folder to user's profile from network path.

So this script will allow user to access Demantra client, instead of the web interface.

Can any of you help me with the Detection Method, as it's not taking %UserProfile% in detection method.

And there are no registry entries or MSI product code.

Thank you very much in advance.

Regards, Prasad

All replies (2)

Friday, December 13, 2019 2:19 AM âś…Answered

Hi,

If we use variables in the detection method, we cannot use it directly.

That is, the above is WRONG.

To achieve this, we must use the CUSTOM DETECTION METHOD and use them there in a script (for example, VB Script). The program must also run under user only (not for system)! Else you will be getting NT Authority/System -accounts profile variable values.

For the more detailed information, we may read Use User Profile variables as a Custom Detection Method in SCCM 2012 or Create a detection rule using the user variable

Hope the above information helps.

Regards,

Alex Zhu

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, December 16, 2019 7:50 AM

Hi,

It seems there is no update for a couple of days. May we know the current status of the problem? Is there any other assistance we can provide?

Regards,

Alex Zhu

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].