Unable to use the DeleteUser() or DisableUser() procedure steps on users with spaces

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

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section