Protected HP folder for XP?

February 23, 2009 at 02:36:19
Specs: Windows XP
Hello. I have a borrowed HP 530 laptop with Vista that uses the second partition for system recovery.

The partition is acessible (NTFS), and all folder and files are hidden, except for a folder named RECOVERY.

This folder also has folders and files inside, but hides them by showing a warning message.

To create such message, it seems to be using desktop.ini+protect.ed inside the folder, C:\Windows\System32\ShellvRTF.dll and the HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB} registry key.

I would like to recriate this warning message in XP, but either i'm doing something wrong, or the files i'm using from Vista are not compatible.

I googled for an attempt to find someone with the same idea, all i could find was this:

http://logoxdesign.blogspot.com/200...

I tried with his files, tried with the files from the HP 530's Vista, both with no avail.

I don't want to install a third party software, what i want is to replicate HP's folder protection in XP, so i can do the same to a folder or two.

Any suggestions?

I only do what the voices in my head command...


See More: Protected HP folder for XP?

Report •


#1
February 23, 2009 at 10:16:55
Found the problem: the folder i want to protect must have the System attribute (+s).

So, to protect a folder:

1. Create PROTECTED.REG file and paste the following code inside

>>> COPY BELOW THIS LINE <<<

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}]
@="ShellViewRTF"

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\InprocServer32]
@="ShellvRTF.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\ShellEx]

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\ShellEx\IconHandler]
@="{7F67036B-66F1-411A-AD85-759FB9C5B0DB}"

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\ShellEx\{00021500-0000-0000-C000-000000000046}]
@="{7F67036B-66F1-411A-AD85-759FB9C5B0DB}"

[HKEY_CLASSES_ROOT\CLSID\{7F67036B-66F1-411A-AD85-759FB9C5B0DB}\ShellFolder]
"Attributes"=hex:00,00,00,28</quote>

>>> STOP COPYING ABOVE THIS LINE <<<

2. Double click PROTECTED.REG

3. Download PROTECTED.ZIP from the bottom of this page

4. Extract SHELLVRTF.DLL from PROTECTED.ZIP to C:\WINDOWS\SYSTEM32

5. Start, Run, and type

regsvr32 shellvrtf.dll

A message should appear confirming shelvrtf.dll is registered.

6. Extract PROTECT.ED from PROTECTED.ZIP to the folder you want to protect

7. create/edit desktop.ini inside the folder you want to protect and paste the following text

>>> COPY BELOW THIS LINE <<<

[.ShellClassInfo]
CLSID={7f67036b-66f1-411a-ad85-759fb9c5b0db}

[ShellvRTF]
RTFPath="protect.ed"

>>> STOP COPYING ABOVE THIS LINE <<<

8. Add System attibute (+s) to the folder you want to protect and System/Hidden attributes to DESKTOP.INI and PROTEC.ED. How? Let's suppose the folder you want to protect FOLDER3 at C:\FOLDER1\FOLDER 2\FOLDER3
Open Command Line (start, run, cmd) and type the following commands

attrib +s "C:\FOLDER1\FOLDER 2\FOLDER3"
attrib +s +h "C:\FOLDER1\FOLDER 2\FOLDER3\DESKTOP.INI"
attrib +s +h "C:\FOLDER1\FOLDER 2\FOLDER3\PROTECT.ED"

9. Done! Need to protect more folders? just copy DESKTOP.INI and PROTEC.ED from this folder to the new one and add the System attribute to the new folder!

To unprotect the folder, remove the System attribute (attrib -s).

I only do what the voices in my head command...


Report •
Related Solutions


Ask Question