Jump to content
Sign in to follow this  
Andrea

Disable Windows User Account

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.

 

Edited by Andrea

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.