Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Create An Undeletable Shortcut Using Registry(windows), Add undeletable shortcut in desktop and inside "My Computer"&#
nitish
post Jan 5 2008, 01:41 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 19-September 06
From: IC 741
Member No.: 30,215



Create an Undeletable shortcut in Desktop and inside "My Computer"!

***************************************************************************
DISCLAIMER: The following contains registry edits. If done improperly
can cause strange behaviour, and at worst, could even entirely corrupt
your Windows Installation, requiring you to reinstall Windows.
I cannot be held for any damage you may cause to your system as a
result of taking any action suggested in the following article.
***************************************************************************

Target OS: Windows XP
-----------------------------

Introduction
-------------------
These three registry(.reg) files given can make shortcut folder in My Computer and Desktop which normally cannot be deleted or renamed.
This is useful in Internet Cafes where there should be some user folders which should not be deleted and easily accessible to user.
In other case if you have some data/games/ebooks which should be easily opened from My Computer or Desktop but those children in your house delete them then this registry edit is for you.
NOTE: Only the shortcut is not deletable. The contents inside it can be deleted.

Carefully follow the steps given below:

First download the attachment Attached File  undeletable_shortcut.zip ( 4.05k ) Number of downloads: 3

1) newfolder.reg
2) foldermycomp.reg
3) folderdesktop.reg
and readme.txt (contains this article for you to read offline)

DON'T WORRY THE FOLLOWING EDIT IS VERY SIMPLE IF YOU JUST FOLLOW THE STEPS.


newfolder.reg
--------------------
* Open "newfolder.reg" file using Notepad. That is right click and select "open with" "notepad".


* In this line:
@="Appearing Folder"
Change the letters in quotes to the name which will appear in Desktop/My Computer.


* If you want an icon to be displayed on your folder add another line below this fourth line:
CODE
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\DefaultIcon]


That is for example if an icon file "book.ico" is in C:\ drive add
CODE
[HKEY_CLASSES_ROOT\CLSID\{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}\DefaultIcon]
@="C:\book.ico"


NOTE: The first symbol in the above line is "at" symbol in your keyoard.


* Now in this eleventh line:
CODE
@="explorer /root,C:\\Ebooks"


Change the letters C:\\Ebooks by the path where your original folder is present.

Note: 1)There is a space after "explorer".
2)There are two slashes in path name, for example in this path:
C:\\Ebooks\\Shakespeare\\Hamlet.
3)The slash before root is the opposite slash "/".

Save the file. Good! You've done.

Now firstly double click "newfolder.reg". Press OK if any dialog boxes come. This will add the registry to your system.

Then If you want the folder to appear on My Computer then run "folder_desktop.reg" or if you want to make it appear in Desktop run "folder_mycomp.reg". But if you want to make it appear on both run both the files.
Enjoy! Now you have shortcuts which cannot be deleted.


Creating multiple shortcuts
---------------------------------------
If you want to create another shortcut firstly make a copy of all the three registry files.
Then open these copied files using notepad. In many places you will see some long set of characters like
CODE
{FD4DF9E0-E3DE-11CE-BFCF-ABCD1DE12345}
This is unique and only applies to the shortcut you just created. So in all the three copied files change these characters by something like
CODE
{FD4DF9E0-B3DE-31CE-BFCF-EBCD1DC12654}
and then apply the registry.
Remember the curly braces should also be present.

Like this you can create many folders just by making a copy of these files and then replacing these characters by
CODE
{FD4DF9E0-E3DE-61CE-BFCF-ABCD1DE45312}
{FD4DF9E0-E3DE-11CE-EFCF-EBCD2DE13425}
{FD4DF9E0-E3DE-12CE-BFCE-FCDB1DE23145}
{FD4DF9E0-E3DE-81CE-BFEF-ABCD1DE12543}


But don't type the alphabet after "F" as these characters are in Hexadecimal System.

Important Notes
--------------------------
1) Every software or application in your system has a unique set of the above mentioned characters. In some cases(which is impossible) when your set of characters matches with any program in your system then you are overwriting that software key which may render the software useless.
But don't worry as it is impossible in these billions of combinations. However, you can beforehand check the regedit by opening "Run" from start menu and typing "regedit". Now you will be presented with the registry editor. In left column navigate to HKEY_CLASSES_ROOT\CLSID
Here you can verify from the list of these characters.

2) You should note down the unique ID (for example this one
CODE
{FD4DF9E0-E3DE-11CE-EFCF-EBCD2DE13425}
but may differ what you typed). Otherwise you cannot delete the shortcut.

3) This registry edit has only been tested on Windows Xp Professional edition.


Exclusively deleting the folder
------------------------------------------
You've done. But what if you want to delete the folder. You cannot delete it by right clicking the folder and choosing delete or by pressing "Delete" Key on your keyboard.

So you should edit the following file:
Using Notepad open "newfolder.reg", in the last line,
that is:
CODE
"Attributes"=hex:00,00,00,00


Change the number of zeroes to 4, that is:
CODE
"Attributes"=hex:00,00


Now just open "newfolder.reg" to apply your edited registry.

Now the folder's right click menu can have the "Delete" to permanently delete it.

AND you techie guys if you find other ways of deleting the folder apart from the above edit don't forget to mail me. But don't be silly by telling that you formated your whole computer or partition just to delete the folder laugh.gif

From Author:
-------------------
I think you've all done this edit succefully. This file is elaborate enough to explain every thing carefully for the beginners.

But you may be wondering why I have written a whole novel for a simple task. Always remember that in Registry the gap between Life and Death of your system is very very narrow. Any way if you read the article, you have already learnt a lot about registry.

If you have any doubts either post here or mail me at:
dnitishkumar@gmail.com
VISIT: nitish.co.nr and Bookmark it. Because I am revamping my site. So bookmark it and visit in April 2008.

Let us meet again. Till then Good Luck.

This post has been edited by truefusion: Jan 6 2008, 09:37 AM
Go to the top of the page
 
+Quote Post
Liam_CF
post Jan 5 2008, 05:34 PM
Post #2


Super Member
*********

Group: Members
Posts: 403
Joined: 14-October 07
From: ERROR 404
Member No.: 51,575



That sounds great, if I ever open an internet cafe, I will try this out.

It could be good for a prank or something.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Windows Xp Freezes At Welcome Screen(39)
  2. Error Installing Windows Xp -error 7 Ntkrnlmp.exe(10)
  3. The Icons Of Zip Files Are Wrong Everytime!(3)
  4. Windows Security Over Regedit(1)
  5. Windows Vista Gui Vs Window Xp Gui(17)
  6. Linux - Why It Fails As A Desktop Operating System?(34)
  7. Pros And Cons Of Mac, Windows, And Linux(32)
  8. Changing The Windows Xp Splash Screen(10)
  9. Windows Ntfs Folder And File Compression. Good Or Bad?(6)
  10. Vista Rocks(38)
  11. Windows Xp Or Vista?(27)
  12. How To Install Windows Xp On Your Cd/dvd/pen Drive(4)
  13. Nasty Windows Tricks Using Vbs Codes(15)
  14. Installing Windows Xp On A Sata Enabled Desktop/notebook Computer.(2)
  15. How Do I Change The Default Windows Font Size?(3)
  1. Windows Vista, Better Or Not?(21)
  2. Windows Xp Memory(5)
  3. Windows Seven(18)
  4. 18 Features Windows Should Have (but Doesn't)(8)
  5. Never Use Windows Vista(10)
  6. Windows Xp Sp3 Is Out(10)
  7. Windows - Ubuntu(6)
  8. Windows Vista License Transfer?(7)
  9. Watch Out For React Os, The New Free Os You Can Install Windows Stuff.(6)
  10. Windows Transition(2)
  11. Windows Xp Sp4(11)
  12. Windows Vista Sp1(0)
  13. What Would You Rather Change In Windows(5)


 



- Lo-Fi Version Time is now: 20th July 2008 - 08:28 PM