/build/static/layout/Breadcrumb_cap_w.png

Disable Local User account - via Kace

Hi There,

Wondering if it is possible via KACE (k1000) to disable a local user profile, the profile in question is just called 'User'

Has anyone had any success in doing this?

Thanks

Sammy


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: Desktop Jockey 1 year ago
Second Degree Green Belt
0
You can do this via Powershell: Disable-LocalUser -Name User
Posted by: samuel.campbell@gilbert-ash.co.uk 1 year ago
Senior White Belt
0

Top Answer

thanks desktop jockey, i have the following setup but doesnt seem to work, any idea:


9k=


with the powershell script having the following:

Disable-LocalUser -Name "user"

thanks




Comments:
  • Try this:
    Directory: %SystemRoot%\sysnative\WindowsPowerShell\v1.0
    File: Powershell.Exe
    Check Wait for completion
    -executionpolicy bypass -file "$(KACE_DEPENDENCY_DIR)\DisableLocalUser.ps1" - Desktop Jockey 1 year ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ