cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rexelitat
Engaged Sweeper
How can I remove the old domain after a domain rename?


regards

Johannes
4 REPLIES 4
rexelitat
Engaged Sweeper
Thanks, that did it.

reagrds

Johannes
Hemoco
Lansweeper Alumni
Execute the script below in the Lansweeper web console under Configuration/Scanning Setup/Database Scripts. Copy and paste the code and hit the Execute SQL Code button. Replace YourDomain with the NetBIOS name of the domain whose users you wish to remove. (Leave the quotes in the code.)
delete from tblADusers where userdomain = 'YourDomain'
rexelitat
Engaged Sweeper
That works great with computers, but what about users?
I still have both domains unders the AD view.
Hemoco
Lansweeper Alumni
In Lansweeper 5.0:
- Click the Assets link at the top of the web console.
- Filter the domain column to find machines in the unwanted domain.
- Tick the upper checkbox to select all assets in the current selection.
- Hit the Delete button on the left.