Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Using _SMSTSPackageName Variable to check condition

  • Thread starter Thread starter Daniel_Zet
  • Start date Start date
  • Replies Replies 1
  • Views Views 2K

Daniel_Zet

New Member
Messages
1
Reaction score
0
Points
1
Hello Guys,
my detection method seems not be working....
MicrosoftTeams-image.png

i have alsao tried without "%%"

is it possible in some way ?
REGkey works:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\STMJ\Hardware\ME_Firmware\ /v TaskSequence_Version /t REG_SZ /d "%_SMSTSPackageName%" /f

Thank you in Advance
 
I have always used the registry key for detection methods. I am guessing the %_SMSTSPackageName% is not read or evaluated. Need to test this in my lab VM.
 

Forum statistics

Threads
7,163
Messages
27,961
Members
18,254
Latest member
NightHawk

Trending content

Back
Top