Prevent copying of files to USB drive

March 4th, 2008 Ajith Posted in How To 17 Comments »

There are times when you want to prevent others from copying your data but you still need them to be able to view it on your computer. The following tip will help you do exactly that.

As always it is the registry that comes to your rescue. Open the Registry Editor by typing regedit in RUN (WIN+R) dialog (more keyboard shortcuts). Go to th key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
StorageDevicePolicies

Protect files from being copied to USB device, registry key

Create a new DWORD named WriteProtect (Right Click on right pane and select New»DWORD). Edit the value and make it 1. Just restart Windows explorer and you are done. Next time somebody tries to copy data to the external storage device they will see

Can't copy to Mass storage device error

If you need to copy something just make the stored value of WriteProtect to 0

**Tips : to restart Windows Explorer take Shutdown. Click Cancel while holding down SHIFT+CTRL+ALT, this will close Windows Explorer. Now take TASK MANAGER by pressing ALT+CTRL+DEL take File>>New Task>> [ explorer ] and press Enter. **

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button

What to do when you can’t log-in to blogger

February 23rd, 2008 Ajith Posted in How To, Uncategorized 2 Comments »

Some times Blogger will show a “server was encountering a problem” message when you try to login and will give you an error code and say that an engineer had been notified. There are some things you can try to login to blogger when such an error occurs.

If Blogger home page won’t load or you can’t login directly.

1. Go directly to Blogger Login Page http://www2.blogger.com/login.g and try logging in.
2. Sign in to Gmail or Google then take a New Browser Window (CTRL+N) or a New Tab (CTRL+T) and goto http://www2.blogger.com/home. This will take you to the Blogger Dashboard directly.
3. Try clearing the cookies and goto the sign in page.

So the next time you face such a problem, don’t miss a post.

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button

How to disable Right Click on a Web Page - with HTML

February 13th, 2008 Ajith Posted in How To 1 Comment »

There are many ways to prevent the use of Right Click on a Web page, but the most popular one was to use a JavaScript code to disable Right Click. With JavaScript you can either display a custom message like “No Right Clicks Allowed” or just annoy the user by no response.

Any ways I strongly recommend that you do not Disable Right Clicks on your site. One thing is that the user gets a hostile feeling and may not prefer to return. Then, there is no such thing as a complete foolproof way to prevent users from copying or saving your content. In my experience I was successful in copying the content from sites I visited and which used such a foolish technique.

However if you still want to disable right click, here is a simple HTML way to do so

1 . View the HTML source code of your webpage and locate the <body> tag.
2 . Paste this inside the tag
ondragstart=”return false” onselectstart=”return false” onContextMenu=”return false”
Now the code will look something like

<body ondragstart=”return false” onselectstart=”return false” onContextMenu=”return false”>

This is the basic of all right click disabling techniques. Since this is not via JavaScript it can’t be disabled.

Update 1 :

Although you may prevent right clicking by many methods, Firefox will fool you all. Firefox will show the warning message that Right Clicks are disabled but will then show the Right Click menu.

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button

How to clear full internet history from Internet Explorer

February 4th, 2008 Ajith Posted in How To, Windows No Comments »

The security and privacy consciousness of Internet users are at an all time high for sometime now. But very few of us who use Internet Explorer (I use IE only very rarely now) actually know that the whole history is not cleared even if we do Internet Options»Clear History. Well most of the History is cleared but still it’s Windows we all know it is famous for the backdoors and ‘front windows’. And more over since Microsoft© has decided to make us pay a nice amount for this OS they have made sure everything that we do can be checked by others also. Hmmm too good.

Now that Microsoft© is not very keen on our privacy lets be our own saviors. Besides the Temporary Internet files and History in C:\Documents and Settings\USERNAME\Local Settings\ Windows also saves your Internet history in INDEX.DAT file and Registry. Before you go any further you need to have enabled viewing of hidden files (Tools>>Folder Options>>View>>Show Hidden Files and Folders).

Delete Index.dat File

Now go to the above directory, voila there wont be any INDEX.DAT nor will be there any other folders like those shown below..So what do we do?

Those who have tried to delete this file would have noted that it cant be deleted directly. Log off your account and login as another user in Windows and goto the previous Folder (USERNAME must be the previous user name). Now you will be able to see all those specified folders (if not enable showing of Hidden Files). Just select the folders and the file the press SHIFT+DEL (to delete files forever) and your history is cleared forever.

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button

How to change the default wallpaper folder of Windows to your favourite one.

December 23rd, 2007 Ajith Posted in How To, Windows 1 Comment »

This is almost a follow up post of How to Add your favorite picture to the default Windows wallpaper list. So please read that post also.

The default Windows Wallpaper folder is %SystemRoot%\Web\Wallpaper where normally %SystemRoot% is C:\Windows . The location where the Desktop properties look for Wallpaper is saved in the Registry Key :

MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\Currentversion

as a Multi String Value with a name WallpaperDir and having the the location of default wallpaper folder.

The Location of Windows default wallpaper folder saved in registry

All you need to change it to the folder you need by double clicking it and saving the new Location. Check out the new location I gave and the corresponding list shown as wallpapers.

The default folder changed to My Documents\My Picture\Hot

This is the value of my favorite folder. Now the change is immediate and you need not restart the Computer or Windows Explorer. Just Take Display Properties»Desktop

The new wallpaper shown on Desktop Properties

Cool(Hot) right? By the way its Kim Kardashian you can obtain the pictures from Kim Kardesian at Beach

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button

How to add your favourite picture to Windows default wallpaper list ?

December 22nd, 2007 Ajith Posted in How To, Windows No Comments »

The Windows default wallpaper list is shown when we select Desktop tab under Display Properties (Right click»Properties on Desktop). If you need to add some pictures to this list from your own collection here are the steps to follow.

The wallpapers shown in the list are located in the folder %SystemRoot%\Web\Wallpaper the %SystemRoot% represents your Windows Directory (normally C:\Windows).

Added a new wallpaper to the folder C:\Windows\Web\Wallpaper

Just add the pictures you need to appear to this folder and the next time you select Desktop properties the wallpaper will be there along with those come with Windows. Here the file named tan-y-groes1024×768 is the file added by me.

Default list of wllpapers Windows Show

You can actually change the folder Windows looks for its wallpaper through registry. Ill cover it later this day.

Buy me a cup of hot coffee - help me keep posting all through the night

AddThis Social Bookmark Button




My Google  Netvibes  My Yahoo!  Windows Live  Bloglines  Newsgator