Windows server 2003 and Windows XP – How to delete files that are blocked by system or processes

Posted by aidas | Posted in Tools, Windows 2003, Windows XP | Posted on 17-06-2009

0

This quick post will show you how to delete files that are being used by system or running processes.

When you try to delete that kind of files on your Windows machineĀ  you get error:

“Access denied”

or

“File/Folder is being used by applications. Please close the application and then try again”

To delete these “corrupted” files you can useĀ  tool named “Unlocker”. It removes lock from file or folder and you can delete it afterwards.

You can download this tool from here .

Cheers!

Windows server 2003 – How to list all Organizational Units via command line

Posted by aidas | Posted in Active directory, Command line, Windows 2003 | Posted on 17-06-2009

0

This post will show how to list all Organizational Units in your domain using command line tool netdom. To list all OU in domain named “testdomain.com” type:

netdom query /d:testdomain.com OU

Note that netdom is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools directory).