Deleting Users from PaperCut NG or PaperCut MF

KB Home   |   Deleting Users from PaperCut NG or PaperCut MF

Main.DeletingUsers History

Hide minor edits - Show changes to markup

March 01, 2019, at 08:36 PM by Alan Morris - added a keyword
Changed line 36 from:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion

to:

keywords: schedule task, removing users, delete, user accounts, active directory, cleanup, bulk user deletion

June 22, 2018, at 08:48 PM by adam b - added video embed
Added lines 2-3:

(:youtube 1xh4RHF3Vu4:)

September 12, 2017, at 12:23 AM by peterf - Revised content, and updated to mention new feature in 17.3
Changed lines 1-12 from:

(:title Deleting users from PaperCut :)

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed when Synchronize Now is selected if the Delete users that do not exist in the selected source option is selected.

Please note that deleting a user in PaperCut will not remove the user’s historical printing data - you can still report on the printing that the user performed, using the Reports tab to view historical information. There is more information about deleting users and how this might affect Reporting on the Reports Data FAQ page.

It is common in an academic environment to have to delete user accounts on mass at the end the academic year. The recommended procedure is:

1. Delete the inactive user accounts from your domain and server. Large organizations will often automate this process via scripts and lists of student enrollments.
2. During a period of low system activity, perform a backup of the system. With PaperCut NG, this can be performed via the Options->Backup area as documented in detail here. Deleting user accounts is a destructive operation so it’s always a good idea to take a backup beforehand!
to:

(:title Deleting Users from PaperCut NG or PaperCut MF :)

The User List in PaperCut NG and PaperCut MF is effectively a “mirror” of the underlying server or domain user list. Any new users added to the domain will subsequently appear within the application, either at the point of next user and group synchronization, or at the time of their first print (whichever comes first). Any users deleted from the domain will be removed only when the Delete users that do not exist in the selected source (on “Synchronize Now” only) option is enabled, and Synchronize Now is manually selected. This way, errors afflicting your network accounts, such as connection or permission errors rendering the domain user list temporarily inaccessible, do not automatically cause problems for your user list in the application.

As of version 17.3 of PaperCut NG and PaperCut MF, a list of the user accounts which will be deleted can be previewed by selecting the Delete users that do not exist in the selected source (on “Synchronize Now” only) option and then clicking to Test Settings.

Please note that deleting a user in PaperCut NG and PaperCut MF will not remove the user’s historical printing data; you can still report on the printing that the user performed, using the Reports tab to view historical information. There is more information about deleting users and how this might affect reporting on the Report Data FAQ page.

It is common in an academic environment to have to delete user accounts en masse at the end the academic year. The recommended procedure is:

1. Delete the inactive user accounts from your domain and/or server. Large organizations will often automate this process via scripts and lists of student enrollments.
2. During a period of low system activity, perform a backup of the system. With PaperCut NG and PaperCut MF, this can be performed via the Options->Backup area of the Admin web interface, as documented in detail here. Deleting user accounts is a destructive operation, so it’s always a good idea to take a backup beforehand!
Changed lines 17-18 from:
4. When the Test Settings information shows the correct user and group count you are ready to perform the user synchronization. Select Synchronize Now with the option Delete users that do not exist in the selected source selected.
to:
4. When the Test Settings information shows the correct user and group count, and the preview listing of users pending deletion looks accurate, you are ready to perform the user synchronization. Select Synchronize Now with the option Delete users that do not exist in the selected source enabled.
Deleted lines 22-26:

How do I permanently redact user data?

The EU General Data Protection Regulation (GDPR) mandates that users have a Right to be Forgotten; to have all identifiable data related to them which is stored by an organisation permanently removed upon request. As of version 17.2 of PaperCut NG and PaperCut MF, this specialised form of user deletion is implemented as a server-command.

For further information, check out our Knowledge Base article on GDPR.

Changed lines 24-36 from:

The delete users option is not “remembered” and hence will not occur when the sync occurs overnight. The only way to delete users is to do so manually via the Options page by ticking the deleted option then doing a manual sync. This is so we can give you the warning to backup first, as we have seen a few customers over the years accidentally delete their users by not remembering to turn this option off. Hence this option is always off by default.

If deleting old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from Windows Task Scheduler like:

 cd C:\Program Files\PaperCut NG\server\bin\win
 server-command.exe perform-user-and-group-sync-advanced TRUE TRUE

We recommend running this command during a period of low system activity such as 4:00am.

The video below demonstrates how to delete users from PaperCut

(:youtube 1xh4RHF3Vu4:)

to:

The delete users option is not “remembered” and hence will not occur when the sync occurs overnight. The only way to delete users is to do so manually via the Options->User/Group Sync page by manually enabling deletion and then synchronizing. In the past, we’d seen a few customers accidentally have their users deleted either by not remembering to turn the deletion option off, or due to an unexpected outage of their domain controller. Hence, this option is always off by default.

If automatically deleting old users overnight is important, then it is possible to do this via the server-command API. For example, a batch file could be periodically executed via the Windows Task Scheduler, with content like the following:

 cd C:\Program Files\PaperCut NG\server\bin\win
 server-command.exe perform-user-and-group-sync-advanced TRUE TRUE

We recommend running this command during a period of low system activity, such as 4:00 AM.

Changed line 34 from:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion, gdpr

to:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion

July 11, 2017, at 07:59 AM by peterf - Fixing a link
Changed line 22 from:

The EU General Data Protection Regulation (GDPR) mandates that users have a Right to be Forgotten; to have all identifiable data related to them which is stored by an organisation permanently removed upon request. As of version 17.2 of PaperCut NG and PaperCut MF, this specialised form of user deletion is implemented as a server-command.

to:

The EU General Data Protection Regulation (GDPR) mandates that users have a Right to be Forgotten; to have all identifiable data related to them which is stored by an organisation permanently removed upon request. As of version 17.2 of PaperCut NG and PaperCut MF, this specialised form of user deletion is implemented as a server-command.

July 11, 2017, at 07:47 AM by peterf - Updating to reference GDPR for version 17.2
Added lines 21-25:

How do I permanently redact user data?

The EU General Data Protection Regulation (GDPR) mandates that users have a Right to be Forgotten; to have all identifiable data related to them which is stored by an organisation permanently removed upon request. As of version 17.2 of PaperCut NG and PaperCut MF, this specialised form of user deletion is implemented as a server-command.

For further information, check out our Knowledge Base article on GDPR.

Changed line 41 from:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion

to:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion, gdpr

June 30, 2017, at 10:45 AM by 90.152.8.32 -
Changed line 33 from:

(:youtube 1xh4RHF3Vu4&t:)

to:

(:youtube 1xh4RHF3Vu4:)

June 30, 2017, at 10:42 AM by 90.152.8.32 -
June 30, 2017, at 10:41 AM by 90.152.8.32 -
Added lines 31-33:

The video below demonstrates how to delete users from PaperCut

(:youtube 1xh4RHF3Vu4&t:)

July 08, 2014, at 09:04 PM by Rick - Clarified using Test Settings and Synchronize Now
Changed line 13 from:
3. Perform a test user synchronization using the “Test Settings” button with the Delete users that do not exist in the selected source option selected.
to:
3. Navigate to Options->User/Group Sync and perform a test user synchronization using the Test Settings button with the Delete users that do not exist in the selected source option selected.
Changed lines 15-19 from:
4. Perform a user synchronization with the Delete users that do not exist in the selected source option selected.
PaperCut NG and ChargeBack: Navigate to Options->User/Group Sync, check on the option Delete users that do not exist in the selected source, then press Synchronize Now.
PaperCut Quota: Navigate to Options, and press the TuneUp button. When prompted, say Yes to deleting old users.
to:
4. When the Test Settings information shows the correct user and group count you are ready to perform the user synchronization. Select Synchronize Now with the option Delete users that do not exist in the selected source selected.
Deleted line 18:
March 27, 2014, at 06:54 PM by rick - added a step to use Test Settings before Synchronize Now
Changed lines 13-14 from:
3. Perform a user synchronization with the Delete users that do not exist in the selected source option selected.
to:
3. Perform a test user synchronization using the “Test Settings” button with the Delete users that do not exist in the selected source option selected.
4. Perform a user synchronization with the Delete users that do not exist in the selected source option selected.
Changed lines 20-22 from:
4. Take some time now to confirm that all is as expected.
to:
5. Take some time now to confirm that all is as expected.
March 04, 2014, at 06:22 PM by TimG - Updated to include Paragraph on the impact of deleting users wrt reporting
Added lines 5-6:

Please note that deleting a user in PaperCut will not remove the user’s historical printing data - you can still report on the printing that the user performed, using the Reports tab to view historical information. There is more information about deleting users and how this might affect Reporting on the Reports Data FAQ page.

Changed lines 23-26 from:

The delete users option is not “remembered” and hence will not occur when the sync occurs overnight. The only way to delete users is to do so manually via the Options page by ticking the deleted option then doing a manual sync. This is so we can give you the warning to backup first… long story…. we’ve had a few customers over the years accidentally delete their users by not thinking. Hence this option is always off by default.

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from Windows Task Scheduler like:

to:

The delete users option is not “remembered” and hence will not occur when the sync occurs overnight. The only way to delete users is to do so manually via the Options page by ticking the deleted option then doing a manual sync. This is so we can give you the warning to backup first, as we have seen a few customers over the years accidentally delete their users by not remembering to turn this option off. Hence this option is always off by default.

If deleting old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from Windows Task Scheduler like:

Changed lines 25-26 from:

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from ‘Windows Task Scheduler’ like:

to:

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from Windows Task Scheduler like:

Changed lines 25-26 from:

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file Windows task scheduler like:

to:

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file from ‘Windows Task Scheduler’ like:

Changed lines 30-32 from:
to:

We recommend running this command during a period of low system activity such as 4:00am.

Changed line 31 from:
to:

Changed line 33 from:
to:

Added lines 22-31:

How do I delete users automatically overnight?

The delete users option is not “remembered” and hence will not occur when the sync occurs overnight. The only way to delete users is to do so manually via the Options page by ticking the deleted option then doing a manual sync. This is so we can give you the warning to backup first… long story…. we’ve had a few customers over the years accidentally delete their users by not thinking. Hence this option is always off by default.

If pruning old users overnight is important, then it is possible to do this via the command-line tool server-command.exe. e.g. Run a batch file Windows task scheduler like:

 cd C:\Program Files\PaperCut NG\server\bin\win
 server-command.exe perform-user-and-group-sync-advanced TRUE TRUE
Changed lines 3-4 from:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed when “Synchronize Now” is selected if the Delete users that do not exist in the selected source option is selected.

to:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed when Synchronize Now is selected if the Delete users that do not exist in the selected source option is selected.

July 19, 2010, at 11:57 PM by Rick - clarified wording re: only works with Sync Now
Changed lines 3-4 from:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the Delete users that do not exist in the selected source option is selected.

to:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed when “Synchronize Now” is selected if the Delete users that do not exist in the selected source option is selected.

Changed lines 3-4 from:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the “ ‘Delete users that do not exist in the selected source’ ” option is selected.

to:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the Delete users that do not exist in the selected source option is selected.

Changed lines 3-4 from:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the “Delete users that do not exist in the selected source” option is selected.

to:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the “ ‘Delete users that do not exist in the selected source’ ” option is selected.

Changed lines 22-23 from:

keywords: removing users, delete, user accounts, active directory, cleanup

to:

keywords: removing users, delete, user accounts, active directory, cleanup, bulk user deletion

May 11, 2009, at 10:55 PM by rick - updated delete dialog to current language
Changed lines 3-4 from:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the “delete users” option is selected.

to:

PaperCut’s user list is a “mirror” of the underlying server or domain user list. Any new users added to the domain will appear in PaperCut (either on next user/group sync or on first-print). Any users deleted off the domain will be removed during the next synchronization if the “Delete users that do not exist in the selected source” option is selected.

Changed lines 7-8 from:
1. Delete the inactive user accounts from your domain and server. Large organizations will often automate this process via scripts and lists of student enrolments.
to:
1. Delete the inactive user accounts from your domain and server. Large organizations will often automate this process via scripts and lists of student enrollments.
Changed lines 11-14 from:
3. Perform a user synchronization with the delete old users option selected.
PaperCut NG: Navigate to Options->User/Group Sync, check on the option Delete old users when synchronizing, then press Synchronize Now.
to:
3. Perform a user synchronization with the Delete users that do not exist in the selected source option selected.
PaperCut NG and ChargeBack: Navigate to Options->User/Group Sync, check on the option Delete users that do not exist in the selected source, then press Synchronize Now.

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on March 01, 2019, at 08:36 PM
Printable View   |   Article History   |   Edit Article