Search This Blog

Tuesday, August 9, 2011

Turning Off Windows CE ActiveSync

9 August 2011

Introduction
Many smartphones and mobile devices use Windows CE Mobile 6.1 and the likes as operating system. Many users of these devices have experienced one common problem; the ActiveSync program will run every few minutes in the background. This program drains battery power.

How To Detect?
Goto Task Manager. ActiveSync will turn on and run every few minutes after one has cleared and stopped it.

How to Remove This ?
There are few methods being circulated in the Net but the correct method is to modify the Registry of the mobile devices.

Would This Affect the Auto-Synchronizing? No. However, there may be a need to start Windows Mobile Centre in the PC or NoteBook first before plugging in the USB cables.

What are the Steps?
1. Download PHM Registry Editor from here or the correct version from SKTools

2. Copy the cab files to the mobile devices after having a connection and install. One should see the PHM icon under "Program" ;




3. Run PHM Registry Editor ;





4. Click “Tool” and also “Find” to bring up the Find screen;










5. Click Keys, Values and Data checkboxes and click “Find Next”









6. Program will find “KeepAlive” element; double click it to bring up the editing screen;







7. In the Editing screen, change the Value Data from 1 to 0 and close the screen;









8. Done


Friday, July 1, 2011

To Lockup Roof Top Access Doors in HDB Blocks?

1 July 2010

Introduction
A dead body was found in one of the 8,000 HDB blocks in Singapore. The Town Councils that manage the HDB blocks just announced that they would strengthen the security of the roof top access and replace all locks at the roof top access doors with better ones. The keys to the new locks cannot be duplicated easily.

The Cost
The total cost is around S$ 10 millions for the security measures and about S$ 3.3 millions will be spent on the new locks

The ArgumentsFor:
a) The new locks are more secured as they cannot be easily duplicated;

Against:
a) Not effective if the doors are left opened after use by the workers;

The Proposal
Installing an additional telemonitoring point to the access doors.

The Supporting Reasonsa) Why Doors not locked?Lift motor rooms and water tanks are often located at the roof tops. Lift mechanics are the frequent users. They often left the doors opened for their own convenience and forgot to lock the door after the repair work.

b) Fire Escape to Roof Tops?
Roof top is often used as one of the fire escapes for highrise buildings. In case of a fire in the middle floors, the only fire escape will the roof tops. This is especially true in the case of HDB Point Blocks where the staircases are close to each other.

c) Stop Crimes at Roof Tops?A secured locking device will never stop crimes. It is a false sense of security if the locking device is not monitored. It merely delay crimes from happening.

d) What will be the Cost?
For every HDB block, there is already a telemonitoring system that monitors the lifts. One could always find a spare monitoring point that could be easily programmed to alert the lift monitoring operators when there is an intrusion.

This monitoring point can link all the electrical limit switches at the roof top access doors all in one circuit.

This proposal is expected to cost around S$200/= per block or about S$1.6 millions for 8,000 HDB blocks. This proposal is about 9 times cheaper than the $10 millions proposed to spend by the Town Councils and will be much more cost effective.

Thursday, February 3, 2011

Microsoft Silverlight Installation Problem in Windows 7

2 Feb 2011

Introduction
When Silverlight was first installed, everything will work fine. After it was updated to a new version, Silverlight failed to install and gave error ID of 1603. All attempts made to re-install the Silverlight failed including removal of existing program and edition of registry.

Why?
Some keynames in Internet Explorer Registry were locked for security reasons and they disallowed Silverlight installer to change the keywords. Silverlight installer just gave error id with no further explanation.

How to Detect?
Use Winrar or similar unzipping program to inspect the "silverlight.exe" file and locate the "silverlight.7z" zip file. In this zip file, click and run silverlight.msp. The program will start to install silverlight and report any error found.

Uninstalling the Silverlight.exe in the control panel will also report similar errors.

What Kind of Errors?
The following keywords in [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\] are locked from any editing. Note that Wow6432Note is the folder for LOCAL MACHINE32.

FEATURE_SCRIPTURL_MITIGATION
FEATURE_Cross_Domain_Redirect_Mitigation
FEATURE_VIEWLINKEDWEBOC_IS_UNSAFE
FEATURE_RESTRICT_OBJECT_DATA_ATTRIBUTE
FEATURE_SHOW_APP_PROTOCOL_WARN_DIALOG
FEATURE_BLOCK_LMZ_SCRIPT
FEATURE_BLOCK_LMZ_OBJECT
FEATURE_BLOCK_LMZ_IMG
FEATURE_ACTIVEX_REPURPOSEDETECTION


How to Unlock?

Note: Before proceeding to diagnose and unlock the registry keyname, it would be good to try restoring the system to the earlier date using system restore function.

1. Once the locked keyword is identified, use "regedit.exe" to locate the keyword in and then, rightclick and select "permissions" to open the “permissions” window.




2. In the opened permission window, click “Add” button in the “group and username” section if there is no name in the block and the following screen should appear.



3. Selecting the “Advance” button to open up the following screen.




4. Click “Find Name” button to add “SYSTEM” as the username.



5. Click "OK" to return to the 1st opened permission window.
Note that the checkboxes in the "Full control" and "Read" cannot be set until one has reclaimed the ownership of the keyword.
6. To reclaim ownership, click "Advance" and in the next window, select “owner” tab and then change the owner’s name to reclaim ownership of the keyword.


6. Return to 1st opened permission window and click “Full control” check box.

7. Click “OK” button and then test if one can open the keyword in the registry editor.

Quicker Way to Unlock?

Instead of unlocking the keywords one by one, one can release all the locks in the sub keyname under the keyname “FeatureControl” by releasing the lock in the “FeatureControl” keyword. To do so, one must click the checkbox "Replace owner in subcontainer and object" when reclaiming the ownership of the keynames. Repeat same for the "permission" tab.

Wednesday, December 15, 2010

Repair Spin Mop or Magic Mop

14 December 2010

IntroductionMagic mop or 360 degree mop are spin mops. The earlier model has a foot pedal with gearing system that will spin the cage as the pedal is being “pumped”. This article will describe how to repair this kind of spin mop.





How Spin Mop works?The spin mop has a set of gearing system. When the pedal is stepped on, it will spin the centrifugal cage. The heart of the system is a “one way bearing” that allow the force to be transmit to the shaft of the centrifugal cage.

This bearing has about 8 small little needle bearings in it that are arranged to “lock” the gear to the shaft whenever a force is applied to turn the gear. As soon as the force is removed or when one stops the pedal “pumping”, the needle bearings will “unlock” themselves, allowing the centrifugal cage to continue spinning freely with the “one way bearing” now acting as a normal bearing. The animation of the “one way bearing” can be found here


What Can Go Wrong?
After some use, these little needle bearings will wear out and no longer able to “lock” the gearing system to the shaft of the centrifugal cage. The centrifugal cage will stop spinning.

What can be done?a) Dismantle the gearing mechanism

1. Unscrew the 4 screws that attach the gearing block from the pail




2. Remove the small pinion gear that is attached to the shaft



3. Remove the "one way bearing" by knocking the old one out




4. Replace the “one way bearing”. Check to rotate the shaft by hand to ensure the correct direction of the bearing before inserting the bearing. The “one way bearing” will not work if it is inserted in the wrong direction.  It may be necessary to put the bearing back on to the shaft to test the rotation just to be sure.
5. Re-assemble the gearing block.

After Note:

How to remove the Bearing from its Housing

First remove as many old bearing needles from the housing using a small watch screw driver as shown


then put the gear over the vice with a gap that will allow the old bearing to be knock out lightly  using a small screw driver and a hammer,  aiming at the rim of the bearing housing space left over by the needle bearings.   When the bearing is on its way out,  grip it by the vice.  A twisting motion will remove the bearing.


Saturday, December 11, 2010

How to Sharpen a Knife or Chopper

10 December 2010

Introduction
There are tons of articles and videos on the web telling people how to sharpen a knife or a chopper. Some are shown by professional chef. However, none could help a layman sharpening a knife or a chopper properly

Why?
The secret of sharpening a knife is to have the knife always maintaining at a constant angle of about 20 degree to the surface of the sharpening stone or sand paper when sharpening a knife. If the knife edge is irregular, the knife will never be sharp.

How?
To maintain a constant angle, one can use something like a thicker steel ruler to provide a shim or a spacer to “wedge” the knife at about 20 degree angle to the surface of the stone. The trick is on how to stick the ruler to the knife while sharpening the knife.

A Simple Method
a) Find a piece of PVC electrical trunking about the length of the knife. One may be able to get one free from the electricians as they often have some waste piece lying around in the work places; the PVC trunking will usually have a "tongue and groove" arrangement to snap the cover in place;





b) Remove the cover of the PVC trunking which should have a “groove” in it. Cut the “groove” piece out of the cover and snap the piece to the knife as shown.




c) Start sharpening and one will always have a knife or a chopper sharpened in a professional way.

Wednesday, December 8, 2010

How to Sharpen a Planer Blade

8 November 2010

Introduction
There are many ways to sharpen a planer blade instead of replacing and throwing them away. This article will introduce one easy way.

The Planer and Planer Blades
The planer used is as shown. It has 2 blades, each has a length of 3-1/4" and are made of HSS steel.




When the blades are blunt, it will not give a good cutting surface on the wood and the surface will have a fluffy feeling.
The Sharpening Tools
The usual way to sharpen the blade is to use a standard blade sharpening tool which has adjusting screws for angle and other adjustments. Grinding stones are often used. The sharpening work will require some professional skill to prepare grinding stones etc. This article will introduce a simple and yet effective way for DIYs using tools that can be made in just less than ½ hour. No professional skill really required.

The Materials
a) A base made from a piece of plywood measuring around 100 mm x 75 mm ( 4” x 3”) or with the width to suit the length of the blade;
b) A 15 mm PVC tube of about 75 mm (3”) in length;
c) 4 wood screws and washers; 2 shorter ones to tighten the blade to the base and 2 longer ones to tighten to the base to a PVC tube for adjustment of the blade angle;
d) 2 pieces of water base sand papers; one of 240 grade and the other of 300 grade or finer
e) Optional: a set of rollers to be mounted underneath the 15 mm PVC tube so that the base can slide freely on the sand papers. One can use the small rollers that is stripped from the spoilt computer mouse for this purpose.

Other tools required are electric drills and suitable drill bits

The Set Up
a) Drill 2 rows of holes and 2 small holes as shown on the base
b) Drill 2 small holes on the PVC tube to hold the longer screws


The Completed Assembly



Note:
1. One can omit having rollers mounting beneath the PVC if one can always place the PVC tube outside the sand paper area. Anyway, PVC tube are replaceable if they are worn.
2. Constantly check the grinding surface of the blade and adjust the angle of the blade to be grinded. When the angle is correct, make a marking on the PVC tube and the base.
3. When the blade is ready, one should feel the blurs on the opposite edge of the blade. Dismantle the blade and grind away the blur on a fine sand paper. To ensure the blade is always placed at a small angle to the sand paper, one can use a steel ruler or the back of another sand paper to "jack" up the opposite end of the blade when grinding away the blurs.

Thursday, October 7, 2010

Access Denied in Windows 7 Registry

Introduction

Windows 7 is fast and easy to use but many users said they had tried and went back to XP. They said Windows 7 was not stable. Some complained about program not able to run or run slower than XP after some usages. Reinstallation of these programs often failed. This article will describe a way to solve some of these problems.

Why?

One of the problems is the denial of access to change certain keys required by the programs in the Registry. After some period, the ownership or the permission of the Registry key will be changed for some reasons, probably caused by User Account Control (UAC). The programs will lose the privilege to access and change these keys under normal operation. The solution is to restore the ownership and permission of these keys.

How ?

a) Prepare to check which key was denied the access.

To monitor the Registry, download Process Monitor . Install and run.



3. To limit the number of events to be display, in the “Filter” menu, select “Filter”
4. In the Architecture dropdown box, select “Result” and type in “ACCESS DENIED” in the box as shown





5. Click ok. The monitor is now ready to capture any access denial events for study.

b) Run the faulty application or installation or any program again. this time, check if there are Registry keys being denied access. Note down this key and use “Regedit” to reclaim ownership or permission to change these keys.

What if there are plenty of Registry to Change?

When there is a lot of keys to reclaim ownership or permission, it may be necessary to reset the entire Registry to the defaulted ownership or permission.

How ?

Important Notes: It is advisable to backup by exporting the entire Registry or otherwise save in another disk or partition. The reset of ownership or permission by SubInACL can upset some programs.

1. Download SubInACL which is a program that will enable administrators to manage files, registry keys, and services.

2. Unzip and run SubInACL. It will create a new folder called “Windows Resource Kits/Tools” inside the Program Files (x86) folder.

3. Start up “NotePad”. Copy and paste the following

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f

4. Save NotePad file as “Reset.cmd” in the “Windows Resource Kits/tools” folder.

5. In the box of the Windows Startup Button, enter “cmd” (without quotes) and rightclick “cmd.exe” when the file appears at the top of the window and select to run as Administor.

6. Type “cd C:\Program Files (x86)\Windows Resource Kits\Tools” at the prompt, follow by “reset.cmd”



7. The program will run for the next 3 minutes to change all the ownership and permission of the entire keys in the Registry to the default value

Tuesday, August 24, 2010

The Tokyo Tunnel - G-Cans

24 August 2010

Introduction
The Tokyo flood tunnels – G-Cans project started construction in 1992 and completed in 2004, about 12 years later. It was just in time to be tested in tyhoon 22 in 2004 when 14 families were reported to be affected instead of 236 families before the completion of the project. The tunnel collects water from Tokyo downtown district and discharge it into the Edogawa river.


The Tunnel
The tunnel is 10m in diameter and about 6.3 kilometers (four miles) long. It is buried 50 metre under the ground in the Tokyo suburbs.

It has 5 concrete silos, each having a diameter of about 32 metres and is about 70 metres tall.

The tunnel is connected to a gigantic water tank measuring about 78m width, 177m long and 25m tall (or 350,000 m3). The tank is propped by 59 numbers of gigantic pillar, each weighing about 500 tons. As the pillars look like those in ancient temples, some named this water tank “the underground temple of Tokyo”.

Connected to this water tank are series of water pump that have a total output of 14,000 hp or 10 MW. They can discharge flood water up to 200 m3 per second or one Olympic pool water in 10 seconds.

The Cost
Estimated to be about US 2.0 billion

The Volume
The tunnel can hold approximately 640,000 m3 of flood water.


Monday, August 23, 2010

Web Query Hangs

23 August 2010

Introduction
Users of Microsoft Excel and other web query software, like IMACROS, often query websites to get the web information for stocks or other purposes. These users will write scripts to automate the process. Sometimes, the process will hang causing lost of data. This article will describe methods to overcome this problem.

Why it Hangs?The process will hang either because the website is down or because the web traffic is high. A webpage usually takes 5 to 6 seconds to download may take up to 10 minutes or even hours.

How to Over come?
The following methods have been tried without much success.

a) Introduce timeout events in scripts or VBAThe script is waiting for a webpage to download and will not activate the timeout under such events.

b) Ping the website before proceeding to download
This will only help if the website is down but it will not help when there is a delay due to heavy traffic.

The better method is to modify the window registry’s internet setting with a timeout of appropriate delay. This is because most browsers use this delay in the internet setting.

http://support.microsoft.com/kb/181050

How to Modify the Registry?
The timeout is not native in the registry’s internet setting. It will have to be created under
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]. The keyword is "ReceiveTimeout”. Its value will depend on normal delay in webpage download.

The Window default is

Internet Explorer 4.0 and Internet Explorer 4.01 --- 5 minutes
Internet Explorer 5.x and Internet Explorer 6.x---- 60 minutes
Internet Explorer 7 and Internet Explorer 8 ------- 60 minutes
In VBA, add the following code before downloading the data
Set myWS = CreateObject("WScript.Shell")'write registry keymyWS.RegWrite
"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet " &
_"Settings\ReceiveTimeout", "15000", "REG_DWORD"
The value of “15000” means a delay of 15 seconds. Insert the same code just after the download script and change the value to suit normal surfing.

Saturday, August 21, 2010

Error Message for Dynamic Link Library mscvp90.dll

21 August 2010

Introduction

When installing Ad-aware program, one will get the following error message for some PCs:

"procedure entry point?_xfunc@tr1@std@@YAXXZ cannot be located in the dynamic link library MSVCP90.dll "

Why?
This error is due to a wrong version of msvcp90.dll being installed by some programs for some reasons.
The dll is one of the C Run-Time Libraries for Visual C++ and programs such as Ad-aware use them.
According to some descriptions, there are 2 versions of such dll having the same name, msvcp90.dll, one for 64 bits and the other for 32 bits machine. XP operating system is a 32 bit machine.

What Next?If one is using a XP operating system and has encountered the problem.

Step 1: Download the correct version of Microsoft Visual C++ 2008 Redistributable Package (x86) from the following website for XP machines

http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displayLang=en

Step 2 : Locate the directory C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRTxxxxx. In the directory, one should find 3 Nos of 90.dll files. Rename these files with an extension of .tmp. If one has 2 directories of similar name, do the same.

Step 3: Run the downloaded installation program called “credist_x86.exe”. The installation program will automatically uninstall and reinstall the correct version of 90.dll programs.

Step 4: Locate the directory C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRTxxxxx again. One will find the new 90.dll programs. Copy all the 3 programs to “c:\windows\system32”

Simple and Easy Way To Backup Photos, Movies and Documents from handphones

 2 December 2023 In the past,  we used iTunes when we wanted to transfer or backup our photos,  movies, and documents from iPhones or Androi...