
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2013 08:10 PM
Even though we have specific OUs in the "Only scan these OU paths" Lansweeper is still showing an OU of users that we don't want to display. How can I remove these users (6000 of them) and rescan?
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2013 09:16 PM
- By default, Lansweeper only pulls a user into the database when he is found to be logged onto a computer during a computer scan.
- Additional users can be detected through Domain User Scanning, which can be configured under Configuration/Scanning Setup/Scanning Methods.
- If an unwanted user OU has been scanned, run the script below under Configuration/Scanning Setup/Database Scripts to delete all users within the OU, replacing YourOU with the OU name. Reconfigure Domain User Scanning afterwards, under Configuration/Scanning Setup/Scanning Methods.
- Additional users can be detected through Domain User Scanning, which can be configured under Configuration/Scanning Setup/Scanning Methods.
- If an unwanted user OU has been scanned, run the script below under Configuration/Scanning Setup/Database Scripts to delete all users within the OU, replacing YourOU with the OU name. Reconfigure Domain User Scanning afterwards, under Configuration/Scanning Setup/Scanning Methods.
delete from tblADusers where OU = 'YourOU'

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2013 06:54 PM
I tried this but ASSETS does not show users.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2013 07:21 PM
rock11 wrote:
I tried this but ASSETS does not show users.

This is true. I was thinking about computers. Users are simply extracted from Active Directory, and do not seem to be affected by OU filtering. I would suggest requesting this as a feature. Right now the only way to remove users from Lansweeper is to either delete them from Active Directory or mark their accounts 'Disabled' in AD. Then, under Server Options, there are options to delete such users from Lansweeper. (Not very helpful in your case, I'm sure.)


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2013 06:48 PM
rock11 wrote:
Even though we have specific OUs in the "Only scan these OU paths" Lansweeper is still showing an OU of users that we don't want to display. How can I remove these users (6000 of them) and rescan?
If you added the OU filter after the scanning service had already started, it may have added many users to the queue. It will not automatically delete them simply by adding the OU filter, rather the filter should simply prevent future additions from other OUs.
Go to ASSETS - EDIT ASSETS
Use the Filter to show only those users in that OU (or OUs) you want to remove
Under "Display" select "ALL" (This should show all 6000 users you want to remove)
Click the top checkbox to make all of them selected
Press Delete on the left side panel.
