Monday, May 23, 2011

Change Window-7 LogOn Screen

Follow the procedure below to change the Windows 7 logon screen.
1. Download the registry file from here. Extract the file and double-click on the file to enable this feature (Alternative method: right-click, select Merge).
2. Now, head over to the following folder:
C:\Windows\System32\oobe (“C” is your Windows Seven Installation drive)
3. Here, create a new folder named Info. Again, create a new folder inside the Info folder and rename it as backgrounds.
4. Copy your favorite image file to this folder and rename it as backgroundDefault. Note that the image must be in JPG format and the size should be less than 256 KB.
5. You are done. Reboot your system and see the change.
The following files (sorted by width-to-height ratio) are supported in 

C:\Windows\System32\oobe\Info\Backgrounds folder:
* backgroundDefault.jpg
* background768×1280.jpg 
* background900×1440.jpg 
 * background960×1280.jpg 
* background1024×1280.jpg
* background1280×1024.jpg
* background1024×768.jpg 
* background1280×960.jpg 
* background1600×1200.jpg
* background1440×900.jpg  


Click Here For Registry file

Thursday, May 5, 2011

Calculations on Command Prompt

The command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers:
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
Note that we had to quote the shift operator since it would otherwise be misinterpreted as a "redirect stdout and append" operator.
For more information, type set /? at the command prompt.

Folder Lock With Password Without Any Software

1. Paste the code given below in notepad and 'Save' it as batch file (with extension '.bat'). Any name will do.
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

2. Then you see a batch file. Double click on this batch file to create a folder locker. New folder named 'Locker' would be formed at the same location.
3. Now bring all the files you want to hide in the 'Locker' folder.
4. Double click on the batch file to lock the folder namely 'Locker'.
5. If you want to unlock your files,double click the batch file again and you would be prompted for password.
Enter the password and enjoy access to the folder.