PROBLEM
When using the procedure steps DeleteUser() or DisableUser() on a user with a space in the name, such as "John Smith", the user is not disabled or deleted
CAUSE
This is a known issue. User names without spaces are not affected.
WORKAROUND / RESOLUTION
You can work around this by using the "ExecuteShellCommand()" step and running the "net user" command
ExecuteShellCommand() - net user "john smith" /del
Unable to use the DeleteUser() or DisableUser() procedure steps on users with spaces
Have more questions?
Was this article helpful?
Provide feedback for the Documentation team!
Browse this section
- "Oops. Something went wrong" error message.
- "Unable to validate license License file Lc.txt was not created" message when running kinstall.exe
- 9.4 Schema installation fails on non-English locals (OS/SQL language)
- All my SaaS agents show as suspended
- Auto Deploy uses wrong agent icon
- AWS API endpoints TLS 1.2 requirement
- Can I backup the Kaseya database to a mapped drive?
- Can I install add-on modules through policies?
- Can I install Kaseya VSA / KNM when SQL is running on a non-standard port
- Can I install PowerShell 4 on the Kaseya server?
- See more