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:
Please log in to answer
Posted by:
samuel.campbell@gilbert-ash.co.uk
2 years ago
Top Answer
thanks desktop jockey, i have the following setup but doesnt seem to work, any idea:
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 2 years ago-
that worked Perfectly, thanks alot for your help :)! - samuel.campbell@gilbert-ash.co.uk 2 years ago