Tips & Tricks

Enable Aero in FX 5200 with 512 MB RAM

Posted on May 15, 2009. Filed under: Tips & Tricks | Tags: , , , , , , |

I recently installed Vista in my 512 MB machine with NVIDIA FX 5200  Graphics Card. I found that i couldn’t enable even after trying everything i read in the internet. But i had used Vista with Aero before, in the same machine, for 30 days. But this time Aero just didn’t seem to work. After 2 hours of reading forums and blogs, i found the fix. My NVDIA driver, provided with CD will not work. Also, the latest from NVIDIA doesn’t work. The only one that enabled Aero is 96.85_forceware_winvista_x86_international_whql. So, just down it from here.

Read Full Post | Make a Comment ( None so far )

Install CAB files

Posted on May 15, 2009. Filed under: Tips & Tricks | Tags: , , |

Here is how to install .cab files that you get from Windows updates. Put the lines below in a .bat file. And use command prompt to input the .cab file to this .bat program as argument. For example, if the lines below are saved in cabinst.bat, put this .bat file in the folder of the .cab file. And traverse to this folder in cmd. Enter cabinst.bat file.cab

 

 

@echo off 
setlocal 
Set “TempDir=cabtmp” 
Set “Log=Log.txt” 
mkdir “%TempDir%” 
For %%i In (*.cab) Do ( 
expand “%%i” -f:* “%TempDir%” && Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” expansion – OK || Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” expansion – FAIL 
Echo – – – – – – – – – – – – – – – 
Echo Installing %%i%. Please wait. 
pkgmgr /ip /m:”%TempDir%” && Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” installation – OK || Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” installation – FAIL 
del /f /s /q “%TempDir%” 
rd /s /q “%TempDir%” 
Echo – – – – – – – – – – – – – – – 
Echo Operation completed 
Echo Log file created as %Log% 
Echo System log can be found at %WINDIR%\logs\cbs\Cbs.log 
Echo Now you may close this window 
pause 
(To put this .bat file into the temp-folder with .cab-file )
For MSU&CAB-files
@Echo Off
Title Installing Windows Vista Updates
For %%F In (MSU\*.msu) Do Call :msin %%F
For %%A In (CAB\*.cab) Do Call :kbin %%A
Shutdown.exe -r -t 1
Exit
:msin
Start /Wait %1 /quiet /norestart
:kbin
Start /Wait pkgmgr /ip /m:%1 /quiet /norestart
GoTo :EOF
Exit

@echo off 

setlocal 

Set “TempDir=cabtmp” 

Set “Log=Log.txt” 

mkdir “%TempDir%” 

For %%i In (*.cab) Do ( 

expand “%%i” -f:* “%TempDir%” && Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” expansion – OK || Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” expansion – FAIL 

Echo – – – – – – – – – – – – – – – 

Echo Installing %%i%. Please wait. 

pkgmgr /ip /m:”%TempDir%” && Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” installation – OK || Echo>> “%Log%” %Time:~0,-3%^>^> “%%i” installation – FAIL 

del /f /s /q “%TempDir%” 

rd /s /q “%TempDir%” 

Echo – – – – – – – – – – – – – – – 

Echo Operation completed 

Echo Log file created as %Log% 

Echo System log can be found at %WINDIR%\logs\cbs\Cbs.log 

Echo Now you may close this window 

pause 

 

(To put this .bat file into the temp-folder with .cab-file )

 

 

For MSU&CAB-files

 

@Echo Off

Title Installing Windows Vista Updates

For %%F In (MSU\*.msu) Do Call :msin %%F

For %%A In (CAB\*.cab) Do Call :kbin %%A

Shutdown.exe -r -t 1

Exit

:msin

Start /Wait %1 /quiet /norestart

:kbin

Start /Wait pkgmgr /ip /m:%1 /quiet /norestart

GoTo :EOF

Exit

Read Full Post | Make a Comment ( None so far )

Mass File Extension Rename

Posted on May 13, 2009. Filed under: Tips & Tricks | Tags: , , , |

Here is how to rename a number of files’ extensions to another extension. Say, for example, some virus renamed all .mp3 files to .jpg files. Now, you need to rename these files back to .mp3 files. You can do this easy.

  • Create a text file, and rename it to, say extren.bat
  • [Right click on the file] > Edit
  • enter the line below and save
  • For /r %%x in (%1) do ren “%%x” %2

Now, if you want to change all .jpg files to .mp3 files, 

  • Put the .bat file into the folder of files’ whose extensions are to be changed.
  • Traverse to that folder in command line
  • Enter extren.bat *.jpg *.mp3

That is, the format of the command is extren.bat *.<from extension> *.<to extension> 

This command changes the extensions of all files that are in <from extension> to <to extension>, in current directory, as well as sub-directories.

Read Full Post | Make a Comment ( None so far )

Search from address bar in Firefox

Posted on May 7, 2009. Filed under: Connect, Tips & Tricks | Tags: , , , , , , |

Is your Firefox looking bulky? [right click on menubar] > ‘Customize…’. Move all necessary buttons from Navigation toolbar to main menu bar. Remove unnecessary buttons. Remove the dedicated Google search box also. Move the address bar from Navigation bar to main menu bar. Now, un-check View > Toolbars > Navigation Toolbar. Thus, all the buttons and address bar is on main menu bar. And there is no navigation bar. Now you have more client area in Firefox.

The Firefox address bar accepts search queries like in Google Chrome, but the results you get is the result of ‘im feeling lucky’ from Google. I never use that button from Google. You can change ‘im feeling lucky’ to normal Google search results page.

Here is how to do it.

  • In address bar type in about:config.
  • Type in keyword in the filter box.
  • Double click on the item Keyword.URL.
  • In the dialog box, change the string to ‘http://www.google.com.my/search?q=
Read Full Post | Make a Comment ( None so far )

Missing items/folders in Group Policy Editor(gpedit.msc)

Posted on November 19, 2008. Filed under: Tips & Tricks | Tags: , , , , , , , |

I was having a problem with the Group Policy Editor, gpedit.msc, for quite some time. When i open it up, i dont see most folders and items that are necessary for an admin. All i see in the User Components > Administrative Templates is Windows Components. There should have been 6 other folders, like Start Menu and Taskbar & Control Panel, along with it.

I searched the net for some time and all i got from Microsoft is http://support.microsoft.com/kb/555218. And, the same thing in many other forums which did not solve the problem. But today i saw the real solution that worked for me. Here it is.

 

  1. Goto Start > Run, and type in gpedit.msc.
  2. Right-click on User Configuration > Administrative Templates.
  3. Click on Add/Remove Templates… in the pop-up menu.
  4. Click the button Add… in the dialog box.
  5. In the file open dialog box named Policy Templates, select system.adm, and click the Open button.
  6. You will now see the missing items/folders.
  7. Congratulations!!! You’ve secured the perimeter.
Read Full Post | Make a Comment ( 45 so far )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...