Jump to content

Disable Windows User Account


Andrea
 Share


Recommended Posts

Good Morning, 

is there a way to remove from all the users present in my SwyxWare Server, the Windows account authentication?

I would like to use only the User Name and Password authentication instead of the Windows, and  of course, I would like to run the command for all the users via Powershell.

I've found this command Remove-IpPbxUserWindowsAccount -UserName "Name Surname" but I would like to perform it for all the users present and with an unique command

Thanks a lot

Best Regards,

A.

 

Link to comment
Share on other sites


  • 5 months later...
On 8/12/2021 at 11:43 AM, Andrea said:

Good Morning, 

is there a way to remove from all the users present in my SwyxWare Server, the Windows account authentication?

I would like to use only the User Name and Password authentication instead of the Windows, and  of course, I would like to run the command for all the users via Powershell.

I've found this command Remove-IpPbxUserWindowsAccount -UserName "Name Surname" but I would like to perform it for all the users present and with an unique command

Thanks a lot

Best Regards,

A.

 

you shouldn't need to remove the windows account. you should just be able to disable it. one liner below to do for all users

 

Get-IpPbxUser | ForEach-Object { $_.WindowsLoginAllowed = $false; $_ } | Update-IpPbxUser -CollectiveUpdate

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.