Tips & Tricks
Enable Aero in FX 5200 with 512 MB RAM
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
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
Read Full Post | Make a Comment ( None so far )@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
Mass File Extension Rename
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 )Missing items/folders in Group Policy Editor(gpedit.msc)
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.
- Goto Start > Run, and type in gpedit.msc.
- Right-click on User Configuration > Administrative Templates.
- Click on Add/Remove Templates… in the pop-up menu.
- Click the button Add… in the dialog box.
- In the file open dialog box named Policy Templates, select system.adm, and click the Open button.
- You will now see the missing items/folders.
- Congratulations!!! You’ve secured the perimeter.
« Previous Entries