Need to block Smart Lock/Smart Assist

TechUST 606 Reputation points
2024-04-11T21:55:03.98+00:00

Hi,

Could you advise if there's a method to block or disable Smart Lock/Smart Assist features on the Lenovo T14 through SCCM or Intune by utilizing scripting? I'm exploring options to manage these functionalities centrally and would appreciate your insights on the most effective approach.

I've come across this article which is useful for manual , but it's more suitable for a single device. I need a method to apply this on a number of devices. Please suggest a solution...

https://support.lenovo.com/jp/en/solutions/HT515870

I have found this script but I'm not sure if it will work. Please suggest.

If this can be done via GPO, please suggest the GPO setting, but I would prefer the script more.

$getLenovoBIOS = gwmi -class Lenovo_SetBiosSetting -namespace root\wmi $getLenovoBIOS.SetBiosSetting("ZeroTouchLogin,Disable") $getLenovoBIOS.SetBiosSetting("ZeroTouchLock,Disable") $getLenovoBIOS.SetBiosSetting("ZeroTouchAllowOverride,Disable") $getLenovoBIOS.SetBiosSetting("PhysicalPresenceForTpmClear,Disable") $getLenovoBIOS.SetBiosSetting("UserPresenceSensing,Enable") (gwmi -class Lenovo_WmiOpcodeInterface -namespace root\wmi).WmiOpcodeInterface("WmiOpcodePasswordAdmin:YourBiosPasswordHereOrBlankIfNoPassword") (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings()

image.png

image (1).png.

Microsoft Security | Intune | Other
Microsoft System Center | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2024-04-12T00:24:27.3166667+00:00

    Unfortunately, directly disabling Smart Lock/Smart Assist through SCCM or Intune scripting on the Lenovo T14 isn't straightforward.

    You can create a Group Policy Object (GPO) to disable Smart Lock/Smart Assist features.

    • Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Hello for Business.
    • Configure the policies related to Windows Hello for Business according to your requirements.
    1 person found this answer helpful.
    0 comments No comments

  2. S.Sengupta 24,636 Reputation points MVP
    2024-04-12T00:22:02.7133333+00:00

    Unfortunately, directly disabling Smart Lock/Smart Assist through SCCM or Intune scripting on the Lenovo T14 isn't straightforward.

    You can create a PowerShell script to disable specific features related to Smart Lock/Smart Assist and then deploy it through SCCM or Intune.

    Disable Smart Lock/Smart Assist features

    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "AllowDomainPINLogon" -Value 0 -Type DWord Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "AllowDomainPasswordLogon" -Value 0 -Type DWord


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.