Home > Office Hack, Tutorial, Windows > Office Hack Series 2 : Hiding Files and Folders

Office Hack Series 2 : Hiding Files and Folders

September 24, 2010 Leave a comment Go to comments

Scenario : Your company policy forbids you from storing certain types of files on your Office PC, but you have a bunch of those files on your hard drive, so how do you hide it ??

Solution : Well the simplest way to do this would be by hiding it via folder options. But that is too simple of a method and in your office you would expect the admin department to know this trick……so what other thing can you do ??

Method 1 : This method uses CLSID trick. now you may ask what is a “CLSID” ?? CLSID is short for Class ID. CLSID is the identification of a COM object. Simply put a Class ID (CLSID) is a 128 bit (large) number that represents a unique id for a software application or application component. Typically they are displayed like this “{AE7AB96B-FF5E-4dce-801E-14DF2C4CD681}”.

All that is fine, but how do i use it ??

Very Simple..collect all your files in a single folder and rename it to one of the below CLSID’s. This will result in the folder icon being changed, according to the CLSID, to a new icon and any efforts to enter it will be diverted to the actual object.

List of CLSID’s :

.{20D04FE0-3AEA-1069-A2D8-08002B30309D} (= My Computer)
.{450D8FBA-AD25-11D0-98A8-0800361B1103} (= My Documents)
.{208D2C60-3AEA-1069-A2D7-08002B30309D} (= My Network Places)
.{645FF040-5081-101B-9F08-00AA002F954E} (= Recycle Bin)
.{871C5380-42A0-1069-A2EA-08002B30309D} (= Internet Explorer)
.{21EC2020-3AEA-1069-A2DD-08002B30309D} (= Control Panel)
.{D20EA4E1-3957-11D2-A40B-0C5020524153} (= Administrative Tools)
.{00020D75-0000-0000-C000-000000000046} (= Inbox)
.{D20EA4E1-3957-11D2-A40B-0C5020524152} (= Fonts)
.{7007ACC7-3202-11D1-AAD2-00805FC1270E} (= Network Connections)
.{2227A280-3AEA-1069-A2DE-08002B30309D} (= Printers and Faxes)
.{7BE9D83C-A729-4D97-b5A7-1B7313C39E0A} (= Programs Folder)
.{E211B736-43FD-11D1-9EFB-0000F8757FCD} (= Scanners and Cameras)
.{D6277990-4C6A-11CF-8D87-00AA0060F5BF} (= Scheduled Tasks)
.{48E7CAAB-B918-4E58-A94D-505519C795DC} (= Start Menu Folder)
.{7BD29E00-76C1-11CF-9DD0-00A0C9034933} (= Temporary Internet Files)
.{BDEADF00-C265-11d0-BCED-00A0C90AB50F} (= Web Folders)
.{6DFD7C5C-2451-11D3-A299-00C04F8EF6AF} (= Folder Options)
.{00020801-0000-0000-C000-000000000046} (= Folder)
.{00021400-0000-0000-C000-000000000046} (= Another Folder)

e.g. You have a folder named “Private”. Simply rename it to “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”

That will result in the folder icon being changed to Default Control Panel icon and any effort to double click will divert you to the Control Panel.

so how do i change it back ?? go to command prompt navigate to the folder where the folder is located and change the name using the command

ren old_name new_name

but doing this time and again can be cumbersome, so lets notch it up a bit……we will create a batch(.bat) file to change and restore the names

So here’s how to go about it :

1. In the same location where you created that folder, create a new file in Notepad, copy the following code into it, replace Private with the name of your folder and save it as lock.bat. To save the file as a .bat file in Notepad, go to file option and click save as, Enter the name lock.bat and then click Save.

ren Private My Computer.{20d04fe0-3aea-1069-a2d8-08002b30309d}

2. Create another NotePad file and type in the following listed below and save it as “key.bat”.

ren My Computer.{20d04fe0-3aea-1069-a2d8-08002b30309d} Private

Now you’ll have lock.bat and key.bat along with your folder.

3. Go ahead and double-click on lock.bat and your folder will turn into My Computer icon and nothing inside can be viewed. Clicking on it will simply bring you to the My Computer Panel. To change it back, Click on key.bat nad Voila!!!! you have your folder back. That way all your files can be stored on the desktop in a non-conspicuous way. Sweet, Huh ?? Happy Hiding…..;)

Method 2 : In this method, You collect all this files in a single folder, then compress the folders using a compression utility like WinZip or Winrar. After that is done, you rename the “file.zip” to “file.pst“. why .pst you ask ?? because a Personal Storage Table (.pst) is the file format used to store copies of messages and other items within Microsoft software such as Windows Messaging, and Microsoft Outlook. and normally in a professional environment Outlook is the default Email cient. So all your Files are converted into a more readily available and less suspicious Single file. Neat huh ??

Added tip : You could also add password protected support and encrypt file names(available in Winrar), that way your files cannot be easily identified by file identifiers also.

  1. timjaynor
    October 5, 2010 at 8:03 am

    i see what you did there

  1. September 28, 2010 at 10:48 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: