Nov 21, 2009

Create An Undeletable Shortcut Using Registry(windows) - Add undeletable shortcut in desktop and inside "My Computer"&#

free web hosting
Open Discussion > MODERATED AREA > Computers > Operating Systems

Create An Undeletable Shortcut Using Registry(windows) - Add undeletable shortcut in desktop and inside "My Computer"&#

nitish
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 [attachment=949:undeleta...shortcut.zip]
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 do post here.

 

 

 


Comment/Reply (w/o sign-up)

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

It could be good for a prank or something.

Comment/Reply (w/o sign-up)

Dark Demon
Thank you pasten,
It is very useful ...
I was wondering if there is anyway to make the content of that folder inaccessible also so that no one can access its content unless they change the registry ??

Thanks in advance... biggrin.gif


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : create, undeletable, shortcut, registry, windows, add, undeletable, shortcut, desktop, inside, computerand,

  1. Creating A Shortcut List Near The System Tray
    Time saver tip for windows (4)
  2. Installing Windows Xp On A Sata Enabled Desktop/notebook Computer.
    How to ...... (8)
    If you bought a brand new computer within the past few years, you might have noticed that your
    computer shipped with a Serial ATA (SATA) controller instead of the convetional Enhanced IDE (EIDE)
    controller. The reason for this is to enhance performance and power management as SATA controllers
    and their supported Hard Disk Drives have a higher data transfer speed against their IDE
    counterparts. And they are supposed to use lesser amount of power thereby saving you more battery
    life in your notebook's battery or UPS as the case may be. If you want to install and run ....
  3. Window Shortcut
    Let's play with keyboard. (0)
    Do you use the mouse for all commands and functions ? You should know better. Studies indicates that
    productivity decrease when you shift between the keyboard and the mouse to input data. So learn the
    shortcuts,familiarise yourself with your keyboard, increase productivity, and show all those guys
    their right place. While Windows comes with a lot of default shortcuts which simplify tasks like
    searching and opening windows applications. Windows Shortcuts - Have you ever played arround with
    the windows key on your keyboard ? That's the small key between the Alt an....
  4. An Icon Issue
    Win XP desktop icons take ages to show (7)
    Hi, first of all, a very Happy New Year to everyone. Now for my problem: I use Win XP SP2 on a 2.8
    Ghz dualcore P4 processor machine, 1 Gb RAM, 250 Mb HDD. Whenever I boot up, or even when I return
    to the bare desktop after having had a number of windows open for a while, my icons on the desktop
    are all blank ones, such as the ones you get when there is no program associated with a certain
    file. Then, one by one, they begin to get the appearance they should have, but it is a real drag
    which takes ages, and the PC is not very responsive while it happens. I seem to remem....
  5. Desktop Icon Size
    Icons changed to large size (3)
    How and where does Windows XP SP2 modify the Desktop Icons for size? Compaq c300 Laptop running Win
    XP SP2, and I just fired up the machine to find the Icons have increased in size and would like
    tomhave them back to the small 16 px display size. surely these don't simply modify themselves?
    Must be a setting someplace, but I can't seem to find it.......
  6. How To Restore Show Desktop Icon
    in Window XP (5)
    How to restore Show Desktop icon in Windows XP Show Desktop is an icon in the quick lunch that
    lets you minimize all open windows quickly. If you delete Show Desktop icon casually, you cannot
    restore it as usual. To restore Show Desktop icon do following; Open Notepad and copy/paste
    following code: CODE Command=2 IconFile=explorer.exe,3 Command=ToggleDesktop And
    finally save above file as Show Desktop.scf in the following address: QUOTE C:\ Document and
    Settings \ Username \ Application Data \ Microsoft \ Internet Explorer \ Quick Launch ....
  7. Which Desktop Applications Widgets For Ubuntu
    (2)
    So yesterday I got fed up with using Windows on my desktop PC (I'm used to OSX Tiger on my
    iBook) so I said to hell with Microsoft and installed Ubuntu FeistyFawn on my desktop. So, it's
    awesome and I love it more than Windows but I see a lot of screenshots on the web with people that
    have these neat looking desktop widgets, kind of like the when you put stuff from your Mac Dashboard
    on the desktop. Anyways, my question is where do I get all those cool widgets and what are the best
    - or the most popular?....
  8. What Is Your Os, And Your Desktop Screenshot Please...?
    (6)
    Well...!! I just wanna know what Your OS, and some of Desktop Screenshot of it. Ok, here we go...!!....
  9. Linux - Why It Fails As A Desktop Operating System?
    (34)
    Linux is becoming such a craze nowadays that not even a single day passes without one or other
    distribution releasing a new version. But why is it failing so miserably in the desktop arena. The
    answer lies in three reasons. 1. The plethora of distributions -
    Redhat,Debian,Ubuntu,Suse,Gentoo,Knoppix - everbody and his uncle is coming out with new ones. 2.
    The lack of backward compatibility - I had Redhat 7.3 running. I upgraded to Redhat 9. Many
    applications had to be recompiled. You ask my mom to recompile applications - She will throw out
    Linux and take Windows anyday. ....
  10. Microsoft Warns Users Of Pirated Windows Os
    with a Desktop Message (36)
    QUOTE Hundreds of thousands, if not millions, of local PC users running pirated Windows
    operating systems will soon face the shame of being reminded of their illegal action every time they
    switch on their machines. The feature will be added to the operating system by Microsoft Corp from
    tomorrow and cannot be erased. It will nag the guilty users and can be awkward if it shows up on
    corporate PCs." QUOTE The anti-piracy move is being kicked off in five countries tomorrow –
    the United States, Britain, New Zealand, Australia and Malaysia. Full Story: http....
  11. Windows Shortcut Tips&tricks
    Windows shortcut Tips&Tricks (10)
    Here some useful shortcuts commands
    QUOTE("http://www.listsoft.com/tips/416/?what=design&state=b") Windows allows you to create
    shortcuts to many commands. Simply right-click, select "Create new shortcut" and provide needed
    command line: rundll32 shell32,SHExitWindowsEx -1 -> Restart Explorer. rundll32
    shell32,SHExitWindowsEx 0 -> Restart Windows 98 without autoexec.bat etc. rundll32
    shell32,SHExitWindowsEx 1 -> Shutdown computer. rundll32 shell32,SHExitWindowsEx 2 -> Reboot
    computer. rundll32 shell32,SHFormatDrive -> Open window "Format". rundll32 shell32,Con....
  12. What Desktop Resolution Do You Run On?
    (28)
    1280x1024 15' LCD....
  13. Project Looking Glass
    3D Desktop Environment (6)
    Anybody heard of Project Looking Glass? It is a 3D Desktop environment from Sun Microsystems. It is
    amazing. I have tried out a few 3D environments in the past and wasn't impressed but this looks
    promising. It is an open-source project :) that will be available for Linux and Solaris systems.
    It will obviously built with Java technology. There isn't much information about the project but
    here is a link to the projects site. There are some screenshots and a video that is quite
    impressive. Project Looking Glass ....
  14. Show Your Desktop ;)
    image max 640x480 link back to big on (56)
    Show your desktops here to give others inspiration how to set there desktop. Since I guess also
    modemers (= /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> A
    good place to upload your images is imageshack , its free and the maximum is 1mb a file. Oke I
    will start. full size one - Gentoo Linux with kernel 2.6.8, - Xorg 6.8.1 - Fluxbox
    windowmanager What we see? Right side: Gkrellm2 a system monitor program for linux Top left:
    Aterm that runs top to view the running progresses in the system Center top: Firefoxbar Wallpaper....
  15. [How2] Create "Show Desktop " icon ...
    too easy! (7)
    How to create "Show Desktop" icon: 1. Create a text file 2. Enter the following in the
    file: CODE Command=2 IconFile=explorer.exe,3 Command=ToggleDesktop 3. Save it as "Show
    Desktop.scf" ....

    1. Looking for create, undeletable, shortcut, registry, windows, add, undeletable, shortcut, desktop, inside, computerand,

Searching Video's for create, undeletable, shortcut, registry, windows, add, undeletable, shortcut, desktop, inside, computerand,
See Also,
advertisement


Create An Undeletable Shortcut Using Registry(windows) - Add undeletable shortcut in desktop and inside "My Computer"&#

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com