Windows

Remote Desktop Enable

To enable remote desktop using command line reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /fTo disable remote desktop using command line reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server” /v fDenyTSConnections /t REG_DWORD /d 1 /f  

Time sync Windows Server command

@echo off w32tm /config /manualpeerlist:64.147.116.229 /syncfromflags:MANUAL w32tm /config /update w32tm /resyncpause @echo offw32tm /config /syncfromflags:manual /manualpeerlist:0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.orgw32tm /config /updatew32tm /resyncpause Time Server peer list

Synergy – 1 Keyboard and Mouse control Multiple computers

Updated on: Oct 13, 2011 Published on: Jul 29, 2010 Synergy let’s you use one set of keyboard and mouse to control multiple computers across different platform simply using TCP/IP protocol Sourceforge Project page For windows platform – Download Link For Linux RPM – Download Link For MAC OS – Download Link

MSN Multiple Instances

Windows -> Run -> Regedit [HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows Live>Messenger] Create a new DWORD name it [MultipleInstances] values set to 1 Restart MSN or Live Messenger

Command for file permission in Windows

更改檔案擁有人兼權限 takeown /f [file_name] /d y icacls [file_name] /grant administrator:F 更改目錄擁有人兼權限 takeown /f [directory_name] /r /d y icacls [directory_name] /grant administrator:F /t