Showing posts with label IT. Show all posts
Showing posts with label IT. Show all posts

Wednesday, September 22, 2010

Formating mail merge in Word

Taken from http://wordprocessing.about.com/od/usingmailmerge/qt/NPFSwitch.htm

When using Excel spreadsheets in a mail merge process, many users frequently run into difficulty formatting the fields that contain number values. To ensure the data contained in the fields is inserted correctly, one must format the field, not the data in the source file; unfortunately, Word does not provide a way for you to change how many decimal places are displayed when working with numbers. While there are ways to work around this limitation, the best solution is to include a switch in the merge field.

To specify how many decimal places to display in your Word mail merge, you can use the Numeric Picture Field Switch (\#):


1. With the mail merge main document open, press Alt + F9 to view the field codes

2. The field code will look something like {MERGEFIELD “fieldname” }

3. Directly after the end quote around the field name type \# -- do not add spaces or quotes

4. Directly after the field switch you just entered, type 0.0x if you want to round the number to two decimal places, 0.00x if you want to round the number to three decimal places and so forth

5. Once you have added your field switch, press Alt + F9 to display the fields instead of the field codes


Your number will appear rounded to the decimal place you specify; if it does not display immediately, refresh the document by minimizing it to the toolbar and reopening. If the field value still does not display correctly, you may need to refresh the document again or close and re-open your document.

Sunday, October 25, 2009

Windows XP Login then Logoff! (Solved)

Remember my last post about Windows XP login and immediately logged off?

Finally I solved it after 2 weeks of troubleshooting. *Sigh*
The solution is simple, just finding it was the hard part.

I've done all the advice given in most pages I've found.
That is creating/copying a new set of userinit.exe from the recovery CD to windows\system32\ folder.
Most people manage to solve their login/logout problem after doing this.

But I can't. I need an extra step which is editing my registry.
Caution!!!
Registry editing is dangerous. Make sure you backup first before doing any editing.

I used BartPE to boot and there I can edit the registry.
This site has a good explanation and screenshots on each step needed to be taken to edit the registry.


1. Insert the BartPE CD into the drive, and boot the system from the CD.

2. Type Regedit.exe in the prompt, and press Enter. Select the HKEY_USERS hive

3. From the File menu, choose the Load Hive option. Browse to your Windows installation drive, for example the following location:

C:\Windows\System32\Config\

4. Select the file named SOFTWARE (the file without any extensions), and click Open
5. Type a name for the hive that you've loaded now. (Example: MyXPHive)
6. Now the SOFTWARE hive is loaded, and present under the HKEY_USERS base hive.
7. In order to fix the Userinit value in the loaded hive, navigate to the following location:

HKEY_USERS \ MyXPHive \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon

8. Double-click Userinit and set it's value correctly. Example: Set it's data as follows:

C:\Windows\System32\Userinit.exe,

(Include the trailing comma also. The above assumes that Windows is installed in C:\Windows, and Userinit.exe file is actually present in the System32 folder. You may want to verify that as well.)

9. After entering the correct data, you MUST unload the Hive. To do so, select MyXPHive branch, and then in the File menu, choose Unload Hive. It's important to note that you'll need to select the MyXPHive branch first, before unloading it.

10. Quit BartPE and restart Windows. See if you're able to logon to your profile.




My problem was that somehow my registry got corrupted. The value for the userinit is:
C:\windowsstem32\userinit.exe,\s So I changed it to the value given above.

Saturday, October 17, 2009

Autochk not found

It was quite some time I had problem with my computer. Now it is solved.
Only after I added a line in the registry.

Yes!!!
Now I can defragment my drive.
Now I can scan my drive.
All after doing the autochk in the registry.
before that it was ???. ???

Here was the post that I found.

>I am running win2k sp3 and when I boot the computer I
>receive:
>
> \SystemRoot\Windows\System32\Autochk.exe program not
>found - skipping Autocheck
>
>This lasts for about 2 seconds and then the system boots
>normally and seems to run fine. I have tried chkdsk /r/f
>and it doesn't help. I have located the file autochk.exe
>in C:\winnt\system32 and have tried replacing the file
>from another similar machine with no change. If I rename
>the file it recreates itself. If I delete the file it
>recreates itself. I am not sure what else to try, any
>suggestions would be greatly appreciated.
>
What is in the registry at the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute

It should be a REG_MULTI_SZ data type set to
autocheck autochk *

If not, set it to
autocheck autochk *

Tuesday, October 13, 2009

Windows XP Login then Logoff!

Have the problem stated in the title. Damn frustating when you can't get into windows to do some fixing. Found a few web pages. Here are some of the tips.
But it doesn't work for me. Need to find other ways!!!

Anyone has any idea????

http://www.logicnest.com/archives/90
- http://www.winxptutor.com/wsaremove.htm
http://en.kioskea.net/forum/affich-22087-xp-auto-log-off

Basically what they advice is that we need to have a Windows Setup CD.
Enter the Recovery Console

Boot the system using the Windows XP CD-ROM. In the first screen when the Setup begins, read the instructions press "R" (in the first screen) enter the Recovery Console. Type-in the built-in Administrator password to enter the Console. You'll see the prompt reading C:\Windows (Or any other drive-letter where you've installed XP)

Type the following command and press Enter.

CD SYSTEM32
(If that does not work, try CHDIR SYSTEM32)

COPY USERINIT.EXE WSAUPDATER.EXE

Quit Recovery Console by typing EXIT and restart Windows.

You'll be able to login successfully as you've created the wsaupdater.exe file (now, a copy of userinit.exe)

Now, change the USERINIT value in the registry (see Phase II in this page) and change it accordingly.

Monday, September 28, 2009

Seneka Rootkit

Just discovered that I have a rootkit installed in my system. Don't know how long it has been there. All I know is while I was watching my process in my system when suddenly I saw explorer.exe was trying to access seneka in the registry. I know what I installed in my computer and seneka was not one of them. I searched in my registry for the key but it couldnt be seen.

I scanned my pc for virus using NOD32 and there was none found. Searched in the net for seneka and there were not much info at all. Then I found out that seneka is a root kit. No wonder my AV cannot detect it. And no wonder lately I have a lot of problem with BSOD when I was shutting down my pc. Especially after using Media Player Classic.

The site ThreatExpert have the best explanation of what it does. But it is not enough.

I found this site that have a list of rootkits remover. http://blogs.techrepublic.com.com/networking/?p=736

I tried a few of them.
i)Trend cant detect at all.
ii)Sophos quite good.
iii)Gmer- yes.
iv) Ice-sword- dunno how to use.

I found that there are a few files in my system folder with seneka as the file name but I could not see them. I have enabled show hidden and system files but it was useless. Doesn't even show that it exists.

Only when I tried to name a file with the name seneka*, that I know that the file exists. Anyway any files that I named starting with seneka* will soon be hidden/deleted/moved/ or anything at all!!!

After I had used the rootkit remover only then my AV can detect the seneka files in the system folder and identify it as a trojan.

Sunday, August 09, 2009

Setting up dvd

Spent the whole day trying to setup the new dvd writer. Got a
Samsung Super-Writemaster DVD writer. Before that went to buy a set of blank dvds. It was only then I know there is a difference between DVD+R and DVD-R. Though I still don't know the difference.

Anyway when I was trying to set up the dvd drive as secondary master, my computer would not start up. I made sure the jumper is set as master but to no avail. Tried changing the jumper here and there but it was futile. So at the end I just put two optical drives together. The CD-ROM is the master and the DVD-writer I put it as slave. It solves the problem of computer not starting up. Haven't try backing up my data files yet. Hope it is ok.

Then bought a Chinese writing pad which costs RM29. Compared to the 1 I bought a few years back which costs more than a hundred.
Still have problems writing. Cause when I open notepad to write, only garbage characters appears. For eg: 你好吗?is written as ÄãºÃÂ𣿠. I can type in the pinyin, the only problem is I can't write it... Anyone has any idea?

Btw, the brand is Usin.

Sunday, April 12, 2009

Trojan/Worm


The latest variant of the conficker worm finally shows its true face, and that is to make money. This variant E is first detected last week.

Variant E of the worm was the first to use the base of Conficker-infected computers for an ulterior purpose. It downloads and installs two additional payloads:[30]

* Waledac, a spambot otherwise known to propagate through e-mail attachments.[38] Waledac operates similarly to the 2008 Storm worm and is believed to be written by the same authors.[39][40]
* SpyProtect 2009, a scareware anti-virus product.





Taken from http://www.katu.com/news/tech/42811892.html
SAN FRANCISCO (AP) - The dreaded Conficker computer worm is stirring. Security experts say the worm's authors appear to be trying to build a big moneymaker, but not a cyber weapon of mass destruction as many people feared.

As many as 12 million computers have been infected by Conficker. Security firm Trend Micro says some of the machines have been updated over the past few days with fake antivirus software - the first attempt by Conficker's authors to profit from their massive "botnet."

Criminals use bogus security software to extort money. Victims are told their computers are infected, and can be fixed only by paying for a clean-up that never happens.

Conficker gets on computers through a hole Microsoft patched in October. PCs set up for automatic Windows updates should be clean.


Here are a few links about the conficker
microsoft
Conficker Working Group

Monday, April 06, 2009

Deleting jwgkvsq.vmx

Just found out that the conficker worm creates an undeleteable autorun.inf in the root drive of the USB drive.

When I tried to delete it, the msg appears as follows:

Error deleting file or folder.

Cannot delete autorun: Access is denied.

Make sure the disk is not full or write-protected
and that the file is not currently in use.


So what I did was to go to the properties of the autorun file.
Click on the Security tab.
Click on the advanced button.
Change the owner to my user. Or add the current user (in my case here, admin) to allow permissions for the full control of the file.

Before I change it, the owner was the worm in the recycler folder.

After adding the owner and changing the permissions, I was able to delete the file.
Thank goodness....

Btw: remember my last post? about jwgkvsq.vmx? It is actually Conficker.

Sunday, April 05, 2009

Disable USB Drive

Remember the previous post where my pc was infected by a virus/worm? It was the conficker!! Or downaup virus.. No wonder so difficult to remove. Got several variants...
And very virulent!!

How to test for it? Here is a simple test. Just go to this site: http://www.confickerworkinggroup.org/infection_test/cfeyechart.html

You should be able to see the pictures below if you are not infected.
If not you better go to the site. The explanation is there.

Anyway microsoft is offering USD$ 250 000 for information that leads to the arrest of the writer of the worm.


Here is something I got from the net. Forgot where I got it. This is used to disable USB storage device. There a few tweaks to completely disable USB but for me, storage device is the main culprit for trojan and virus to spread, so this is the way. Cos if you disable USB, devices such as keyboards, mouse and etc could not be used.

A more reasonable option for sysadmins is to disable write access to USB port so that data files cannot be written to the mass storage device. The USB thumb drive will be read-only.

Open the Windows Registry and open the following key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\ Control\StorageDevicePolicies

Now add a new DWORD called WriteProtect and put the value as 0 to disable write privileges to the USB port. To reverse the step, either delete the WriteProtect REG_DWORD or toggle the value to 1 which will enable the port.

Remember that the above trick works only with Windows XP SP2.

If you like to go a step further and disable users from connecting USB storage devices to their computers, here's the trick:

Open registry and navigate to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet \Services\UsbStor

Now in the right pane, double-click Start and type 4 in the Value data box (Hexadecimal) and quite the registry editor. To enable the USB storage devices, change the Start value back to 3.

As always - back your system up before messing around in the registry.

Just open regedit and browse to this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

Notice the value 'Start'

Switch this value to 4, and USB storage devices are disabled.

Switch this value to 3, and USB storage devices are enabled.

Hope this helps.
Oh ya..
This few tools are a must if you are infected. Or not.
One is the windows update.
Then conficker remover.

Tuesday, February 24, 2009

Scandisk Error

Remember the day that I lost my partition while resizing my external HD?
I am able to recover it after trying a few recovery software.
One favourable review is by using Active Partition Recovery.

I have been able to get my partition back but there are a few files that are corrupted. Tried to scandisk but an error came out.

"Windows was unable to complete the disk check"

Damn it... Then I have to use chkdsk. Found a few errors and fixed it.
But still got problem. Right now I just leave it for a while. Until I have more time to backup my data and try repartition it again.

The type of the file system is NTFS.
Volume label is New Volume.

WARNING! F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
0 percent completed.
1 percent completed.
2 percent completed.
3 percent completed.
4 percent completed.
5 percent completed.
6 percent completed.
7 percent completed.
8 percent completed.
9 percent completed.
10 percent completed.
11 percent completed.
12 percent completed.
13 percent completed.
14 percent completed.
15 percent completed.
16 percent completed.
17 percent completed.
18 percent completed.
19 percent completed.
20 percent completed.
21 percent completed.
22 percent completed.
23 percent completed.
24 percent completed.
25 percent completed.
26 percent completed.
27 percent completed.
28 percent completed.
29 percent completed.
30 percent completed.
31 percent completed.
32 percent completed.
33 percent completed.
34 percent completed.
35 percent completed.
36 percent completed.
37 percent completed.
38 percent completed.
39 percent completed.
40 percent completed.
41 percent completed.
42 percent completed.
43 percent completed.
44 percent completed.
45 percent completed.
46 percent completed.
47 percent completed.
48 percent completed.
49 percent completed.
50 percent completed.
51 percent completed.
52 percent completed.
53 percent completed.
54 percent completed.
55 percent completed.
56 percent completed.
57 percent completed.
58 percent completed.
59 percent completed.
60 percent completed.
61 percent completed.
62 percent completed.
63 percent completed.
64 percent completed.
65 percent completed.
66 percent completed.
67 percent completed.
68 percent completed.
69 percent completed.
70 percent completed.
71 percent completed.
72 percent completed.
73 percent completed.
74 percent completed.
75 percent completed.
76 percent completed.
77 percent completed.
78 percent completed.
79 percent completed.
80 percent completed.
81 percent completed.
82 percent completed.
83 percent completed.
84 percent completed.
85 percent completed.
86 percent completed.
87 percent completed.
88 percent completed.
89 percent completed.
90 percent completed.
91 percent completed.
92 percent completed.
93 percent completed.
94 percent completed.
95 percent completed.
96 percent completed.
97 percent completed.
98 percent completed.
99 percent completed.
100 percent completed.
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
0 percent completed.
1 percent completed.
2 percent completed.
3 percent completed.
4 percent completed.
5 percent completed.
6 percent completed.
7 percent completed.
8 percent completed.
9 percent completed.
10 percent completed.
11 percent completed.
12 percent completed.
13 percent completed.
14 percent completed.
15 percent completed.
16 percent completed.
17 percent completed.
18 percent completed.
19 percent completed.
20 percent completed.
21 percent completed.
22 percent completed.
23 percent completed.
24 percent completed.
25 percent completed.
26 percent completed.
27 percent completed.
28 percent completed.
29 percent completed.
30 percent completed.
31 percent completed.
32 percent completed.
33 percent completed.
34 percent completed.
35 percent completed.
36 percent completed.
37 percent completed.
38 percent completed.
39 percent completed.
40 percent completed.
41 percent completed.
42 percent completed.
43 percent completed.
44 percent completed.
45 percent completed.
46 percent completed.
47 percent completed.
48 percent completed.
49 percent completed.
50 percent completed.
51 percent completed.
52 percent completed.
53 percent completed.
54 percent completed.
55 percent completed.
56 percent completed.
57 percent completed.
58 percent completed.
59 percent completed.
60 percent completed.
61 percent completed.
62 percent completed.
63 percent completed.
64 percent completed.
65 percent completed.
66 percent completed.
67 percent completed.
68 percent completed.
69 percent completed.
70 percent completed.
71 percent completed.
72 percent completed.
73 percent completed.
74 percent completed.
75 percent completed.
76 percent completed.
77 percent completed.
78 percent completed.
79 percent completed.
80 percent completed.
81 percent completed.
82 percent completed.
83 percent completed.
84 percent completed.
85 percent completed.
86 percent completed.
87 percent completed.
88 percent completed.
89 percent completed.
90 percent completed.
91 percent completed.
92 percent completed.
93 percent completed.
94 percent completed.
95 percent completed.
96 percent completed.
97 percent completed.
98 percent completed.
99 percent completed.
100 percent completed.
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
0 percent completed.
1 percent completed.
2 percent completed.
3 percent completed.
4 percent completed.
5 percent completed.
6 percent completed.
7 percent completed.
8 percent completed.
9 percent completed.
10 percent completed.
11 percent completed.
12 percent completed.
13 percent completed.
14 percent completed.
15 percent completed.
16 percent completed.
17 percent completed.
18 percent completed.
19 percent completed.
20 percent completed.
21 percent completed.
22 percent completed.
23 percent completed.
24 percent completed.
25 percent completed.
26 percent completed.
27 percent completed.
28 percent completed.
29 percent completed.
30 percent completed.
31 percent completed.
32 percent completed.
33 percent completed.
34 percent completed.
35 percent completed.
36 percent completed.
37 percent completed.
38 percent completed.
39 percent completed.
40 percent completed.
41 percent completed.
42 percent completed.
43 percent completed.
44 percent completed.
45 percent completed.
46 percent completed.
47 percent completed.
48 percent completed.
49 percent completed.
50 percent completed.
51 percent completed.
52 percent completed.
53 percent completed.
54 percent completed.
55 percent completed.
56 percent completed.
57 percent completed.
58 percent completed.
59 percent completed.
60 percent completed.
61 percent completed.
62 percent completed.
63 percent completed.
64 percent completed.
65 percent completed.
66 percent completed.
67 percent completed.
68 percent completed.
69 percent completed.
70 percent completed.
71 percent completed.
72 percent completed.
73 percent completed.
74 percent completed.
75 percent completed.
76 percent completed.
77 percent completed.
78 percent completed.
79 percent completed.
80 percent completed.
81 percent completed.
82 percent completed.
83 percent completed.
84 percent completed.
85 percent completed.
86 percent completed.
87 percent completed.
88 percent completed.
89 percent completed.
90 percent completed.
91 percent completed.
92 percent completed.
93 percent completed.
94 percent completed.
95 percent completed.
96 percent completed.
97 percent completed.
98 percent completed.
99 percent completed.
100 percent completed.
Security descriptor verification completed.
CHKDSK discovered free space marked as allocated in the volume bitmap.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.

312568824 KB total disk space.
44312916 KB in 15892 files.
8988 KB in 902 indexes.
0 KB in bad sectors.
92372 KB in use by the system.
65536 KB occupied by the log file.
268154548 KB available on disk.

4096 bytes in each allocation unit.
78142206 total allocation units on disk.
67038637 allocation units available on disk.

Sunday, February 08, 2009

System restore failed

Had this problem with my system restore after I restore it as a result of my deleting the user account on my pc last time.



System Restore is not able to create a restore point.
Please restart the computer, and then run System Restore again.

What am I going to do?
Here is a tip from the net. Want to try it later.


statemgr MUST be enabled in msconfig for system restore to
work.

To check:
Start>Run>(type) msconfig>Startup Tab>make sure statemgr is check>OK>restart if prompted to.

Then try this if it is still not working.

1. Restart your computer in Safe or DOS Mode.
2. Click Start, point to Search, and then click For Files or Folders.
3. In the Named box, type wininit.ini.
4. In the Look in box, click Local hard drives, and then click Find Now.
5. Right-click the Wininit.ini file, click Rename, type wininit.xxx, and then click OK.
6. Close the Find Files window, and then run System Restore again.
7. If the previous steps do not resolve the problem, run the following command to repair the damaged portions of your registry:
Start>Run>(type) scanreg /fix


UPDATED!!
I cant even do scandisk! I tried to scandisk in the tools tab.
Have to use the DOS based CHKDSK.
And found quite a lot of errors.
Fixed it and hope it will be ok

Sunday, February 01, 2009

Recovering from a Partition Resize

Damn it!!! Just now was trying to resize my partition on my external hardisk. Suddenly my pc went kaput and now my hardisk is unformatted!!!!
Was using EASEUS Partition Manager. Trying to resize the partition. Then create a new one. 300 GB is too big for one partition.


How am I going to recover the data????
I have lots of file in my HD! :(
My ebooks, mv, animes, software, songs.. Aargh!!!!

Thursday, January 29, 2009

ASP.NET Machine A...'s

Had a very itchy hand a few days ago. Saw in the user accounts an account with the name ASP.NET Machine A...'s. Since i never created the account I just thought that it was maybe a spyware or something like that.

So I just decided to remove the user account since I don't have the password for it. Then hell came...

My pc suddenly becomes slower, crawling even. Cant run any program. I can't use windows explorer or do anything at all. S***. What have I done?

Regretted my impulsive behaviour. I was thinking.. Oh no. I have to reinstall my windows! Then I decided to boot into safe mode and try to see if i can undo what I did.

Tried system restore. It was damn slow. Actually the msg "Not responding" is on the system restore window. Left it for half an hour and finally it managed to restore back my pc.

But to a state where lots of programs I installed cant be used anymore.
Regretted that i did not backup my registry. But then I'm glad that I don't need to reinstall windows.

After this I need to learn how to back up my registry.

Monday, January 05, 2009

Keyboard Problem

Had a problem with my keyboard. When I type in @ the char # will appear. Actually it not the problem with my keyboard. It is keyboard remapping. It is just that when I installed East Asian Language in my computer. At that time I set the keyboard setting to UK.

The solution? Just remove the UK keyboard from the Regional Settings and install US keyboard. Thats all.

Wednesday, December 31, 2008

Trouble with Internet

Want to connect to internet but having problem just now.
My DSL light is stable. Its just that I cant connect to the net.
After spending almost an hour with the support from TM doing this and that.
Finally found out the problem....

My DNS server. Should put it to streamyx's DNS.
The DNS are:
202.188.0.133
202.188.1.5

Before that I have to flush DNS.
The command is ipconfig /flushdns

Actually I have been using OpenDNS for quite some time without much problem.
Maybe its because of the undersea cable near Egypt. I don't know.
Later maybe I'll change again.

Monday, November 24, 2008

MS Access limitation

Microsoft Access by design was not designed to be used for such large size storage of data or to keep a large number of records. By default, there is a 2GB maximum file size on a mdb file, and a 32768 maximum number of objects that can be stored in it. If you are thinking of having 100,000 records in a ms access database, I would recommend against it.

Here are some more interesting statistics for your information:

Attribute - Maximum
-----------------------------------------
Number of characters in a table name: 64
Number of characters in a field name: 64
Number of fields in a table: 255
Number of open tables: 2048 - Actual max is less, since access opens some by default
Table size: 1 gigabyte
Number of characters in a Text field: 255
Number of characters in a Memo field: 65,535 when entering data through user interface; 1 gigabyte when entering data programmatically.
Size of an OLE Object field: 1 gigabyte
Number of indexes in a table: 32
Number of fields in an index: 10
Number of characters in a validation message: 255
Number of characters in a validation rule: 2048
Number of characters in a table or field description: 255
Number of characters in a record (excluding Memo and OLE Object fields): 2000
Number of characters in a field property setting: 255

Monday, November 03, 2008

Back up and restore the registry in Windows

This is taken from MS support.

Manual steps to back up the registry in Windows Vista or in Windows XP

Windows Vista

1. Click StartStart button, type systempropertiesprotection in the Start Search box, and then press ENTER.
User Access Control permission If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
2. Wait for Windows to search for available disks and most recent restore points. In the System Properties dialog box, on the System Protection tab, click Create,
3. Type a name for the restore point and then click Create.
4. After the restore point has been created successfully, click OK two times.
Note If System Restore is turned off, click to select the local disk, click Apply and then click Create.

Windows XP
1. Click Start, click Run, type %SystemRoot%\system32\restore\rstrui.exe, and then click OK.
2. On the Welcome to System Restore page, click Create a restore point, and then click Next .
3. On the Create a Restore Point page, type a name for the restore point and then click Create
4. After the restore point has been created, click Close.
Note If System Restore is turned off, you receive a message that asks whether you want to turn on System Restore now. Click Yes. Then, in the System Properties dialog box, click to clear the Turn off System Restore check box, click OK, and then repeat this step.

Restore the registry
Manual steps to restore the registry in Windows Vista or Windows XP
Use System Restore to undo registry changes in Windows Vista or in Windows XP
Windows Vista
1. Click StartStart button, type systempropertiesprotection in the Start Search box, and then press ENTER.
User Access Control permission If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
2. In the System Properties dialog box, on the System Protection tab, click System Restore,
3. In the System Restore dialog box select Choose a different restore point, and then click Next
4. Select the restore point that you want to use, and then click Next.
5. Confirm your restore point, and then click Finish System restore restores the selected Windows Vista configuration and then restarts the computer.
6. Log on to the computer. When the System Restore confirmation page appears, click OK..

Windows XP
1. Click Start, click Run, type %SystemRoot%\System32\Restore\Rstrui.exe, and then click OK.
2. On the Welcome to System Restore page, click Restore my computer to an earlier time (if it is not already selected), and then click Next .
3. On the Select a Restore Point page, click the system checkpoint. In the On this list select the restore point area, click an entry that is named "Guided Help (Registry Backup)," and then click Next. If a System Restore message appears that lists configuration changes that System Restore will make, click OK.
4. On the Confirm Restore Point Selection page, click Next. System Restore restores the previous Windows XP configuration and then restarts the computer.
5. Log on to the computer. When the System Restore confirmation page appears, click OK..

Thursday, October 30, 2008

Deleting Temp Files

Copy down the command lines below and save it as a batch file.
It should clean your pc of temporary files. This includes caches and cookies.
It is especially useful if you are facing low virtual memory.
Not much but it does help a little.


@echo off
echo cleaning in progress
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo it is done!
echo. & pause

Saturday, October 25, 2008

Converting DVD to VCD

My friend asked me to help her convert her karaoke DVD to VCD. Since I'm not an expert on videos/audio, I ask my sister whom I consider expert in this cause she is doing the converting all the time. Just for backup.

I also asked my friend and he recommended me to use WinDVD(buyware) which I found huge, more than 100MB.
My sister recommended DVD decrypter and AutoGordian. (Freeware)
Another friend recommended AnyDVD by Slysoft(shareware).

After much searching I found this to be quite good.

First I need to rip the dvd to .vob. I used AnyDVD for this. Created more than 3GB of files in my hd.

Then I have to convert the files to avi using AutoGK.

Finally to convert to VCD, I used WinAVI(Shareware). The program puts a HUGE text in the middle of the VCD asking me to register it and remove the text from the video files created.

Wednesday, October 08, 2008

Starcraft Multiplayer VPN Setup

Here I am assuming that
i) Starcraft is installed in your computer.
ii)IPX is installed.

First, install a VPN software first. Here I am using Hamachi. It seems that the latest version does not work with starcraft. I have to use Hamachi version -1.0.1.5-.

Note: Enable all the services. Disable the firewall. Don't update!

After that just play Starcraft as you normally do. If you encounter the problem of cannot join network, try this:




Goto Network connections and properties of the lan
card that your using to N/W. Goto IPX/SPX properties
and assign locator numbers. eg 000001 on computer
one, 000002 on the second.............. This resolves
the issue of cannot join network.