Thursday, December 17, 2009

Robocopy

Download it from here:
http://technet.microsoft.com/en-nz/magazine/2006.11.utilityspotlight(en-us).aspx

Documentation:
http://ss64.com/nt/robocopy.html

Workable command:
robocopy source destination *.* /E /Copyall /R:1 /W: /IS /move /mov

More inforamtion:
Robocopy (the name is short for Robust File Copy) was introduced with the Windows Server 2003 Resource Kit and is included in all editions of Windows 7. Its many strengths include the ability to copy all NTFS file attributes and to mirror the contents of an entire folder hierarchy across local volumes or over a network. If you use the right combination of options, you can recover from interruptions such as network outages by resuming a copy operation from the point of failure after the connection is restored.

The Robocopy syntax takes some getting used to. If you're familiar with the standard Copy and Xcopy commands, you'll have to unlearn their syntax and get used to Robocopy's unconventional ways. The key difference is that Robocopy is designed to work with two directories (folders) at a time, and the file specification is a secondary parameter. In addition, there are dozens of options that can be specified as command-line switches. The basic syntax is as follows:

robocopy source destination [file [file]...] [options]

The source and destination parameters are specified as drive:\path or \\server\share\path. The file parameter can contain one or more literal file names, or it can use the familiar ? and * wildcards. Available options include dozens of switches that control copying, file selection, retry options, and the ability to create log files. For instance, this command copies the contents of one folder and all its subfolders from a local drive E to a shared folder on a Windows Home Server:

robocopy "E:\test"\\server\public\test\/MIR/W:20/R:15/LOG: \\server\public\logs"

The /MIR switch tells Robocopy you want to mirror the two folders, copying all folders (even empty ones) from the source directory and purging folders from the destination if they no longer exist on the source. The /W and /R switches set the wait and retry options; in this case, Robocopy will retry each copy up to 15 times, waiting 20 seconds between attempts. (The defaults allow 1 million retries, at 30-second intervals, allowing copy operations to complete when an open file is closed, even if hours or days have passed since the command was first launched.)

To see the full syntax, type robocopy /? at a command prompt.

Robocopy is a powerful tool, capable of moving, copying, and deleting files and folders faster than you can say "Whoops." We recommend experimenting with commands using nonessential files and folders first; when you're comfortable that you understand the effects of the syntax you're using, you can run the command against real data files.

And if you aren't keen on the idea of using a command-line tool, take heart. Microsoft engineer Derk Benisch has written a graphical front end, shown in Figure 10-10, that allows you to build a command by selecting check boxes instead of entering switches.

Sunday, December 13, 2009

Grant a user permission to send from a Distribution Group

Step 1: Navigate to the DG in AD
Step 2: Click on the security tab
Step 3: Add in the user you want to grant access to

Thursday, December 10, 2009

Windows media player codec

Download Codec Pack (Advanced) 7.9

Cole2k.media.-.codec.pack.v7.9.0.-advanced-.setup


or download VLC

From doanload.com

Exmerge.EXE



Exmerge.EXE

Use the Mailbox Merge Program to extract data from mailboxes on a Microsoft Exchange Server and then merge this data into mailboxes on another Microsoft Exchange Server. The program copies data from the source server into Personal Folders (.PST files) and then merges the data, in the Personal Folders, into mailboxes on the destination server. The ability to merge data to and from an Exchange Server makes this program an invaluable tool with a variety of uses- especially during disaster recovery. The program can also replace existing data instead of merging new data if specified by the Administrator. Mailbox Merge has some limitations. Please read the tools documentation before using this program.

Wednesday, December 2, 2009

Outlook pst backup utility

PFbackup.exe

FreeNas Default password

User Name: admin
Password: freenas

convert WMV to iTouch resolution

As usual, we set "Resolution" as "480*320" for iPod Touch, "320*240" for iPod Nano, iPod Classic and iPod Video, certainly you can also choose other video sizes you like.

xcopy command

xcopy command
net use l: /delete
net use l:\\computerName\sharedFolderName passwordForThisMachine
xcopy *.* l:\user\folder /s /m /y --> s is subdirectory; m is modify and y is yes to everything; *.* will copy all the files under current directory. For example, you have *.* in the batch file and your batch file is saved under user folder then all your files in the user folder will be copied accross. Alternatively, you can just specify the full path.
pause