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

Wednesday, November 11, 2009

Default ESXi Password

Default VMware ESXi username: root; password: blank

How to join two text columns

http://www.mrexcel.com/tip074.shtml

cell3=cell1&""cell2

Monday, November 9, 2009

Tidy up your drives

Delete any files that are older than 30 days

forfiles /p [DriveLetter]:\ /s /m *.* /d -31 /c "cmd /c del [destionation path"For example:
forfiles /p "C:\Users\julie.qiu\Desktop\dde\Flash Professional" /s /m *.* /d -0 /c "cmd /c echo y|del @file"
pause
The example above has auto answer yes

View the files

forfiles /p C:\Users\julie.qiu\Desktop\dde /s /m *.* /d -0 /c "cmd /c echo @file"

pause


Copy from one place to another
forfiles /p [DriveLetter]:\ /s /m *.* /d -31 /c "cmd /c xcopy [source] [destionation] /s /e /h /y"
For example
forfiles /p S:\ /s /m *.* /d -31 /c "cmd /c xcopy \\ecb-vfile-01\Shared O:\ /s /e /h /y"

pause

You can read more from here:
http://technet.microsoft.com/en-us/library/cc753551(WS.10).aspx

Saturday, September 12, 2009

Show the wireless networks around you: inSSIDer

http://www.metageek.net/products/inssider

Friday, September 4, 2009

Sites that can unblock facebook and youTube

search facebook / youTube Proxy

http://www.satyaboutique.com/

Saturday, August 29, 2009

DOS commands to go back to the parent directory

CD \ will take you back to the root folder
CD .. will take you up one level

Saturday, August 22, 2009

"Terminal Server Has Exceeded the Maximum Number of Allowed Connections"

Commands:
query session /server:servername


reset session [ID] /server:servername

eg:
reset session 2 /server:10.0.0.1


There is another way to view sessions on GUI
Run -> tsadmin (win2k3) and tsadmin.msc (win2k8)

Reference:


http://www.howtogeek.com/howto/windows/command-line-hack-for-terminal-server-has-exceeded-the-maximum-number-of-allowed-connections/

Thursday, August 20, 2009

Free software

Video Editing:
http://fixounet.free.fr/avidemux/

Turn your USB key to a Master Key:
PeToUSB
http://gocoding.com/page.php?al=petousb

Security ID

A security identifier (SID) is a unique value of variable length that is used to identify a security principal or security group in Windows operating systems. Well-known SIDs are a group of SIDs that identify generic users or generic groups. Their values remain constant across all operating systems.


eg:
Security Identifier Structure

SID Field: Description

Revision: Revision level.

SubAuthorityCount: SubAuthority count.

IdentifierAuthority: IdentifierAuthority is 48-bit number that is usually presented as 3 numbers (16 bits each) IdentifierAuthority[0], IdentifierAuthority[2] and IdentifierAuthority[3]

SubAuthority: A variable number of SubAuthority or Relative Identifier (RID) values that uniquely identify the trustee relative to the authority that issued the SID


SID: S-1-5-domain-513
Name: Domain Users
Description: A global group that, by default, includes all user accounts in a domain. When you create a user account in a domain, it is added to this group by default.

SID: S-1-5-domain-514
Name: Domain Guests
Description: A global group that, by default, has only one member, the domain's built-in Guest account.

In this example, the SID has the following components:

A revision level of "1".
An identifier-authority value of "5" (SECURITY_NT_AUTHORITY).
A first subauthority value of "32" (SECURITY_BUILTIN_DOMAIN_RID).
A second subauthority value of "544" (DOMAIN_ALIAS_RID_ADMINS).

Tuesday, August 18, 2009

My DIY computer 2

1 x Asus P5E Deluxe Intel X48 LGA775 ATX 1333FSB ICH9R $363.38
1 x Samsung SH-S223F SATA Black Internal 22x Speed Plus DVD±RW Drive, $65.00
1 x Cooler Master Elite 333 Black w/HD AUDIO w/ 420w psu ATX Micro $108.28
1 x Galaxy GeForce 8400GS PCI-E x16 512MB DDR2 64-bit $57.38
1 x Seagate Barracuda 7200.11 1TB SATA2 3.5" 32MB 7200rpm with 3YR Warranty $205.99

Dynamic DNS How-to

Reference:
http://www.dyndns.com/services/dns/dyndns/howto.html
Rememeber to
1) Configure port forwarding to 3389 on your router; You should be able to RDP.
2) Turn off Windows firewall - very important! Otherwises it won't work!

Saturday, June 27, 2009

Install Framework v. 3 on server 2008

How I can install Framework v. 3 on server 2008

Use the server manager to install 3.0. Open server manager and expand features. First selection is for .net 3.0.

Elevated Cmd


1.Right-click on Windows Vista desktop.
2.On the right click context menu, choose New, and then select Shortcut.
3.When the Create Shortcut dialog box appears. type in CMD into the text box, and then click Next.
4.Type a name for the shortcut (typically Command Prompt or Command Processor) on the next screen, and then press Finish.
5.Right-click on the new shortcut created.
6.On the right click pop-up contextual menu, select Properties.
7.Click on the Shortcut tab.
8.Click on the Advanced button to open Advanced Properties dialog box.
9.Tick or check (select) the Run as administrator option so that the command prompt will be launched with administrator privileges by default, and then click OK.
10.Click OK again to finish.

Thursday, June 25, 2009

Select the right PCI

http://zone.ni.com/devzone/cda/tut/p/id/4037

PCI

Case: You bought a NIC (PCI) 2.3 32-bit
Whereas your expansion slots are:
2 x PCI Express 2.0 x16 slots, support ATI CrossFireX™ technology at x8 link
(PCIe x16_1 blue, PCIe x16_2 black*)
3 x PCI Express x1 slots
2 x PCI slots
*PCI Express x16_2 slot (black at max. x8 link)

Knowledge database:
PCI
is a computer bus for attaching hardware devices in a computer.
You can have a look at 32 bit PCI here or 64 bit PCI here.
Faster interfaces: PCI-X and PCI Express.
Conventional PCI remains a very common interface.

Have a look at A typical 32-bit PCI card( in this case a SCSI adapter from Adaptec) here
and A PCI-X Gigabit Ethernet expansion card here.

More information:

Conventional

  • PCI 1.0, which was merely a component-level specification, was released on June 22, 1992.
  • PCI 2.0, which was the first to establish standards for the connector and motherboard slot, was released on April 30, 1993.
  • PCI 2.1 was released on June 1, 1995.
  • PCI 2.2 allows for 66 MHz signalling at 3.3 volt signal voltage (peak transfer rate of 533MB/s), but at 33 MHz both 5 volt and 3.3 volt signal voltages are still allowed. Power rails to provide 3.3 volt supply voltage are now mandatory.[3]
  • PCI 2.3 permits use of 3.3 volt and universal keying, but does not allow 5 volt keyed add in cards.
  • PCI 3.0 is the final official standard of the bus, completely removing 5-volt capability.
  • Mini PCI is a form factor of PCI 2.2 for use mainly inside laptops
  • CardBus is a PC card form factor for 32-bit, 33 MHz PCI
  • CompactPCI uses Eurocard-sized modules plugged into a PCI backplane.
  • PC/104-Plus is an industrial bus that uses the PCI signal lines with different connectors.
  • PCI-X

    PCI-X is a high-performance variant of 64-bit PCI designed for servers.

    • PCI-X 1.0 increased the maximum signaling frequency to 133 MHz (peak transfer rate of 1066 MB/s) and revises the protocol.
    • PCI-X 2.0 permits a 266 MHz rate (peak transfer rate of 2133 MB/s) and also 533 MHz rate (4266 MB/s - 32x the original PCI bus), expands the configuration space to 4096 bytes, adds a 16-bit bus variant (allowing smaller slots where space is tight) and allows for 1.5 volt signaling
    • PCI-X adapters and slots are backward-compatible with 32-bit PCI slots and adapters.
    So it's not going to fit you motherboard!!!

Wednesday, June 24, 2009

Unable to create a new user account on Vista

Unable to create a new user account on Vista.
Problem description:
When I try to add additional users, it never lets me finish the
process, recycling to the screen that says, "Choose the account you would
like to change"

The only way I have found to get around this is to use from the command line
the program name Netplwiz.
This will let you create and adminster accounts,
the regular gui interface does not work for any function of adding new or
modifying existing accounts on my machine either. To get to command line mode
, click the start button and immediately above it type in netplwiz where it
says "start search".

Sunday, June 21, 2009

My Favorate Websites

3 days till my 258 exam. I am wasting so much time here writting my blog even though I know the only readers are God and me haha.

Sarah Henderson is the nicest IT lecturer I ever had in UoA.

Akinator : He knows who is on your mind. :P

Install Picasa 3 on Windows 2008

By default, install Picasa 3 on Windows 2008 will give you:
"The current user is not allowed to install or update applications."

What you need to do to fix this:

1) Start / Administrative Tools / Server Manager / Features / Add
Features / Select “Desktop Experience”
2) Install and restart the PC and then reinstall Picasa.

Blurry Screen

I've been having this problem since last year.
I installed Windows 2008 x64 on my PC and the screen became very blurry.
Why?? It worked perfectly with Windows 2003 x86.

After I had my DIY darling, I realised there is a thing called "video card", there is a different driver for 32 bit and 64 bit system. Ahhh...


Check your graphic card model:
GeForce GTX 260、GeForce GTX 280、GeForce 9800 GTX/9800 GTX+、GeForce 9800 GX2、GeForce 9800 GT、GeForce 9600 GT、GeForce 9600 GSO、GeForce 9500 GT、GeForce 9500 GS、GeForce 9400 GT、GeForce 9300 GE、GeForce 9300 GS、GeForce 8800 GTX、GeForce 8800 GTS、GeForce 8800 GT、GeForce 8800 Ultra、GeForce 8600 GTS、GeForce 8600 GT、GeForce 8600GS、GeForce 8500 GT、GeForce 8400 GS、GeForce 8400 SE、GeForce 8300 GS、GeForce 8300、GeForce 8200
If your graphic card is listed above, you can download its 64x driver here or here.

Install Chinese Language Pack on Windows 2008

Yup, questions from newbies like me pop up all the time.
I guess if you are wanting to read this post, Chinese shouldn't be a problem to you. :)

windows server 2008正式版简体中文语言包安装方法
进入控制面板,不妨点击左列的“经典视图”,再在右侧选择“区域和语言选项”,在弹出窗口中选择“键盘和语言”标签,在该界面下点击“安装卸载语言”,在弹出的窗口中选择“安装语言”,再在下面出现的窗口中浏览到MUI语言CAB包的位置(将所下载的img文件放入虚拟光驱或提取出zh-cn文件夹,选择不到lp.cab文件,选中zh-cn文件夹确定即可),最后点击“安装”,MUI语言包就会进行安装了。安装完后回到“键盘和语言”界面,在“显示语言”中选上你要使用的语言,注销重新登陆即可。

Source:
http://www.lovelvey.cn/
Despite the fact that all he thinks about is money, I like this his blogger a lot. (His blog music and knowledge)

Extra help:
Go to here and download the Chinese language pack
6001.18000.080118-1840_amd64fre_Server_LP_2-KRMSLPX2_DVD.img
Don't get the wrong pack!

Install Chinese software on English os:
装完之后要记住进入Reginoal setting
1)键盘和语言 -> 显示语言选中文;
2)管理 -> Unicode -> 中国.

My DIY Darling

















CPU: Intel Core 2 Duo E8400 3.00 GHz, 1333MHz FSB, Socket 775, Retail pack with fan Price

Motherboard: Asus P5Q PRO Motherboard, Socket 775, 1600MHz FSB, 4xDIMM DDR2, 2xPCIe-16, 2xPCI, 3xPCIe-1, 12xUSB2, Firewire, Audio, 1xATA, 8xSATA, RAID, ATX Price

Power Supply: Cooler Master Silent Pro M600, 600W ATX PSU, Active PFC, SLI Ready, Black Price

HDDs: Seagate Barracuda ES.2 ST31000340NS Hard Disk Drive, 1000GB, 7200rpm, 32MB Cache, SATA-2 Price

DVD writer: Sony AD7200S0B DVD Writer, DVD 16R/20W/8RW, CD 48R/48W/32RW, Internal, SATA, Black, OEM Price

Video card: Galaxy GF 8400GS Video Card, GeForce 8400 GS, 512MB, DDR2, $69.30PCIe-16, TV out, DVI, HDTV, Low profile Price

Case: Gigabyte GZ-X4 ATX Mid Tower Case, Black/Red Price

NIC: Intel PRO/ 1000 GT Desktop Adapter Ethernet Adapter, 10/100/1000 Mbps, PCI Price

Something extra for my current network:
KVM switch: Aten CS-1734A, 4-Port KVM Switch, USB / PS/2 Price
Posted by Picasa

Hyper-V - How do I know I have the right hardwares for virtualization?




You can read about intel-virtualization here:
http://en.wikipedia.org/wiki/X86_virtualization

The processor:
"Not all recent Intel processors support VT-x as Intel uses the feature to segment their market.[6] The following Intel processors include support for VT-x:[7]
Pentium 4 662 and 672
Pentium Extreme Edition 955 and 965 (not Pentium 4 Extreme Edition with HT)
Pentium D 920-960 except 945, 935, 925, 915
some models of the Core processors family
some models of the Core 2 processors family (list here)
Core 2 Duo E6300, E6400, E6320, E6420, E6540, E6550, E6750, E6850 (Conroe)
Core 2 Duo E8200, E8300, E8400, E8500, E8600 (Wolfdale)
Core 2 Quad Q6600, Q6700 (Kentsfield)
Core 2 Quad Q9300, Q9400, Q9400S, Q9450, Q9550, Q9550S, Q9650 (Yorkfield)
Core 2 Extreme X6800 (Conroe_XE)
Core 2 Extreme QX6700, QX6800, QX6850 (Kentsfield_XE)
Core 2 Extreme QX9650, QX9770, QX9775 (Yorkfield_XE)
Xeon 3000, 5000, 7000 series
some Atom chips
all Intel Core i7 processors
some Pentium Dual-Core models like the E5300, E5400, E6300 according to here
Celeron E3000 series
"
The motherboard:
Go into Bios Advanced CPU settings, you should see something like the picture above.

If you can't find something like "Intel (R) Virtualization Tech" or "Virtualization Technology" that means either your motherboard or your processor doesn't support virtualization. Once you try to install hyper-v on windows 2008, you'll get something like this:
Hyper-V launch failed; at least one of the processors in the system does not appear to provide a virtualization platform supported by Hyper-V.