Follow

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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.