Windows server 2003 has very nice tool “forfiles.exe” which provides you with quick and nice file search function.
If you want to use it with your Windows XP machine download it from here .
This tool can be played with mass of functions and in this article i`ll show how to use it with some of them.
For example i want to search through all *.log files in C:\Windows folder and subfolders.
If i find any *.log file there that size is greater than 1MB i want to export path, size and modify time information of that file into C:\Data\LogFileInfo.txt .
In that case open command line and type:
forfiles.exe /p C:\Windows /s /m *.log /c “cmd /c IF @fsize GTR 1000000 (echo @path @fsize @fdate)” >C:\Data\LogFileInfo.txt
Syntax:
/p – what path to search
/m – what file type to search
/s – include subfolders
GTR – greater than
Few weeks ago i got tough situation when share i made offline was moved to another server by local administrator and all users were still trying to synchronize offline files with old server.
How to act in this situation You would ask?
First of all you must download Windows server 2003 Resource Kit Tools from this site .
In this case we will need csccmd.exe tool which will work on Windows XP systems too.
Install tools pack you downloaded, open command line and navigate to Resourse Kit Tools folder.
When you are in place type:
csccmd.exe /moveshare:\\oldserver\oldshare \\newserver\newshare

Press “Enter” and you are done !
This post will show you how to use command line tool netdom and add alternate name to your domain controller running on Windows server 2003. Lets say we have domain controller named “TestDC1.testdomain.com” and we want to add alternate name “TestDC2″. To do it open command line and type:
netdom TestDC1 dc /add:TestDC2.testdomain.com
Note that netdom is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools directory) .
This how to post presents you with GPInventory.exe tool used for group policy inventory and other tasks. It can be downloaded from this location . This tool retrieves Group Policy informations and is effective for pulling out detailed system information, such as applications that have been installed, processor name and speed, or the list of installed hotfixes.
You will need Windows server 2003 or Windows 2000/XP to run this tool.
If you want to have great tool for synchronizing files and folders over few locations for free grab “Allway Sync” tool from here .
It will work on Windows server 2003/2008 and Windows XP/Vista machines. I never tried but website states that it works on Windows 98/ME/2000 too.
How to #Tools by Thomas
Posted by Thomas | Posted in Tools, Windows 2003 | Posted on 30-04-2009
0
If you have problems with your website running on IIS 6.0 and you fail to switch ASP.NET version on your Windows server 2003 you can download free tool “ASP.NET Version Switcher” from here .
This how to is dedicated to Denis Bauer Weblog.