SCCM Query
I was hoping someone could help me write an SCCM query or give the correct search folder criteria to create a list of all SCCM advertisements (or programs) that are set to run mode: Run with user's rights. I have been unsuccessful in my attempts. Thanks ahead of time for the help.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
andys0123
12 years ago
Create a report using the the 'v_Program' view and use the 'ProgramFlags' field to filter the query. You need to check for the following flag not being set:
0x00008000 (ADMINRIGHTS. The program must be run as the local Administrator account)
Try this to list all your programs that run with User rights:
select * from v_Program where v_Program.ProgramFlags & 32768 = 0
Take a look at http://msdn.microsoft.com/en-us/library/cc144361.aspx for all the Program Flags
0x00008000 (ADMINRIGHTS. The program must be run as the local Administrator account)
Try this to list all your programs that run with User rights:
select * from v_Program where v_Program.ProgramFlags & 32768 = 0
Take a look at http://msdn.microsoft.com/en-us/library/cc144361.aspx for all the Program Flags
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.