Monday, March 31, 2008

How to Lock a Folder Using Notepad

How to Lock a Folder Using Notepad


1) Consider you want to lock a folder named caclub in your f:\, whose path is f:\caclub

2) Now open the Notepad and type the following

ren caclub caclub.{21EC2020-3AEA-1069-A2DD-08002B30 309D}

3) Where caclub is your folder name. Save the text file as loc.bat in the same drive.

4) Open another new notepad text file and type the following

ren caclub.{21EC2020-3AEA-1069-A2DD-08002B30 309D} caclub

5) Save the text file as unloc.bat in the same drive.
---------
Usage:
---------
6) To lock the caclub folder, simply click the loc.bat and it will transform into control panel icon which is inaccessible.
7) To unlock the folder click the unloc.bat file. Thus the folder will be unlocked and the contents are accessible.

Windows Media Player Tricks

Windows Media Player tricks
First, Click Start > Run > and type “regedit” to run Registry Editor.
Note: editing the registry may damage your system, please make a backup from your registry

To remove recent play list in history:
To remove recent files go to address: HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\RecentFileList
To remove recent URLs go to address: HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\RecentURLList
And delete play lists

To disable Upgrade message:
Go to following address: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade
Create a new String Value and name “AskMeAgain” and give value of NO


To hide anchor window:
When you are in skin mode, Windows Media Player displays Anchor window
To hide anchor window, go to address: HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Create a new DWORD and name “DoNotShowAnchor” and give value of 1

To change title name:
Go to : HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Create a new SRTING and type your name.


To lock applied skin:
Go to : HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Create a new String with name of Default Skin for example 9SeriesDefault.wmz
Create a new DWORD and name “SetAndLockSkin” and give value of 1.

To enable DVD features:
Go to HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings
Create a new String and name “EnableDVDUI” and give value of YES.

To remove WMP features:
Go to : HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Create a new DWORD and give value of 1 and name according to below
Media Favorite = NoMediaFavorite
Find New Station = NoFindNewStation
Radio Bar = NoRadiaBar

Recycle Bin Edits

Fooling with the recycle bin. Why not make the icon context menu act like other icon context menus.
Add rename to the menu:
HKEY_CLASSES_ROOT\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}\ ShellFolder
"Attributes"=hex:50,01,00,20
Add delete to the menu:
HKEY_CLASSES_ROOT\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}\ ShellFolder
"Attributes"=hex:60,01,00,20
Add rename and delete to the menu:
HKEY_CLASSES_ROOT\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E} \ShellFolder
"Attributes"=hex:70,01,00,20
Restore the recycle bin to Windows defaults including un-deleting the icon after deletion:
Restore the icon.
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\ Windows \CurrentVersion\ explorer\
Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}
@="Recycle Bin"
Reset Windows defaults.
HKEY_CLASSES_ROOT\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E} \ShellFolder
"Attributes"=hex:40,01,00,20
Other edits to the recycle bin icon:
HKEY_CLASSES_ROOT\CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}\ ShellFolder
"Attributes"=hex:40,01,01,20 ... standard shortcut arrow
"Attributes"=hex:40,01,02,20 ... a different shortcut arrow
"Attributes"=hex:40,01,04,20 ... and still another shortcut arrow
"Attributes"=hex:40,01,08,20 ... make it look disabled (like it's been cut)

For Windows XP and 2000 also edit HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}
For Windows ME also edit HKEY_CURRENT_USER \Software\ Classes\ CLSID\ {645FF040-5081-101B-9F08-00AA002F954E}

Disabling My Computer

In areas where you are trying to restrict what users can do on the computer, it might be beneficial to disable the ability to click on My Computer and have access to the drives, control panel etc.
To disable this:
1.Open RegEdit
2.Search for 20D04FE0-3AEA-1069-A2D8-08002B30309D
3.This should bring you to the HKEY_CLASSES_ROOT\CLSID section
4.Delete the entire section.
Now when you click on My Computer, nothing will happen.
You might want to export this section to a Registry file before deleting it just in case you want to enable it again. Or you can rename it to 20D0HideMyComputer4FE0-3AEA-1069-A2D8-08002B30309D. You can also hide all the Desktop Icons, see Change/Add restrictions.

Disabling Drives in My Computer

To turn off the display of local or networked drives when you click on My Computer:
1.Open RegEdit
2.Go to
HKEY_CURRENT_USER\Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer
3.Add a New DWORD item and name it NoDrives
4.Give it a value of 3FFFFFF
5.Now when you click on My Computer, none of your drives will show.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Blogger Templates