Ask the Community
Groups
Unable to use the DeleteUser() or DisableUser() procedure steps on users with spaces - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>PROBLEM</strong><br>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<br><br><strong>CAUSE</strong><br>This is a known issue. User names without spaces are not affected.<br><br><strong>WORKAROUND / RESOLUTION</strong><br>You can work around this by using the "ExecuteShellCommand()" step and running the "net user" command <br><br>ExecuteShellCommand() - net user "john smith" /del</p> </article> </main>