Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 25-12-2006, 09:54 AM   #1 (permalink)
Dreaming Future
 
kin.vachhani's Avatar
 
Join Date: May 2005
Location: \internet\home
Posts: 177
Lightbulb locking drive and folders from registry!!!

Can anyone pls teach me how to lock drive and folders from windows registry or from local security policy for different users on my pc...
__________________
World without Computer is like a man without Brain.....
kin.vachhani is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-12-2006, 10:22 AM   #2 (permalink)
Apprentice
 
niku_19jan's Avatar
 
Join Date: Nov 2006
Posts: 94
Default Re: locking drive and folders from registry!!!

bro try these
Create Own Folder Lock Softwar
Step 1 :Compile this code in C Language and generate EXE file of it....
#include<stdio.h>
#include<stdlib.h>
void main()
{
FILE *f;
int n,i;
char fldr[20];
printf(">>>>>>>>>>>>>>>>>>>>>FOLDER LOCK<<<<<<<<<<<<<<<<<<<\n Coded by deepak garg");
printf("\nWhat do you want to do??");
printf("\n1).Lock Folder\n2).Unlock Folder\n");
scanf("%d",&n);
switch(n)
{
case 1: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s %s.{21EC2020-3AEA-1069-A2DD-08002B30309D}\ndel conv.bat",fldr,fldr);
fclose(f);}break;
case 2: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s.{21EC2020-3AEA-1069-A2DD-08002B30309D} %s\ndel conv.bat",fldr,fldr);
fclose(f);}break;
}
}


Step 2: After Getting exe file go to parent folder in which a folder to be locked is placed.. and run this programme

Step 3: it will create One file name conv.bat run this file and Wowvieeee... your folder is locked...

CLSID folders are special folders like My Computer, Control Panel, Recycle Bin etc.... here are few CLSID values i know of....

{00021400-0000-0000-C000-0000000000046}
{21EC2020-3AEA-1069-A2DD-08002B30309D}
{BD84B380-8CA2-1069-AB1D-0800948534}
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
{645FF040-5081-101B-9F08-00AA002F954E}

respectively for....

Desktop
Control Panel
Fonts
My Computer
Recycle Bin
niku_19jan is offline  
Old 25-12-2006, 03:05 PM   #3 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: locking drive and folders from registry!!!

Read here:

TUTORIAL: All Kinds of Restrictions for Windows XP/2003
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 25-12-2006, 05:15 PM   #4 (permalink)
Console Freak
 
aditya.shevade's Avatar
 
Join Date: Jun 2006
Location: Sangli-Maharashtra
Posts: 991
Default Re: locking drive and folders from registry!!!

@niku_19jan.... thanks man. All I have to do now is just add a password in the source code
__________________
I have launched my blog and I am looking forward to link exchange. If you can then please add my blog link your blogroll and let me know then I can do the same.

http://blog.adityashevade.com
aditya.shevade is offline  
Old 26-12-2006, 11:18 AM   #5 (permalink)
Alpha Geek
 
shyamno's Avatar
 
Join Date: Aug 2005
Location: Kolkata
Posts: 650
Default Re: locking drive and folders from registry!!!

Quote:
Originally Posted by niku_19jan
bro try these
Create Own Folder Lock Softwar
Step 1 :Compile this code in C Language and generate EXE file of it....
#include<stdio.h>
#include<stdlib.h>
void main()
{
FILE *f;
int n,i;
char fldr[20];
printf(">>>>>>>>>>>>>>>>>>>>>FOLDER LOCK<<<<<<<<<<<<<<<<<<<\n Coded by deepak garg");
printf("\nWhat do you want to do??");
printf("\n1).Lock Folder\n2).Unlock Folder\n");
scanf("%d",&n);
switch(n)
{
case 1: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s %s.{21EC2020-3AEA-1069-A2DD-08002B30309D}\ndel conv.bat",fldr,fldr);
fclose(f);}break;
case 2: {f=fopen("conv.bat","w");
printf("\nEnter Folder Name : ");
scanf("%s",fldr);
fprintf(f,"rename %s.{21EC2020-3AEA-1069-A2DD-08002B30309D} %s\ndel conv.bat",fldr,fldr);
fclose(f);}break;
}
}


Step 2: After Getting exe file go to parent folder in which a folder to be locked is placed.. and run this programme

Step 3: it will create One file name conv.bat run this file and Wowvieeee... your folder is locked...

CLSID folders are special folders like My Computer, Control Panel, Recycle Bin etc.... here are few CLSID values i know of....

{00021400-0000-0000-C000-0000000000046}
{21EC2020-3AEA-1069-A2DD-08002B30309D}
{BD84B380-8CA2-1069-AB1D-0800948534}
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
{645FF040-5081-101B-9F08-00AA002F954E}

respectively for....

Desktop
Control Panel
Fonts
My Computer
Recycle Bin
suppose I am having a folder "New Folder" in the C:..
Inside New Folder I ahve another folder which I want to lock suppose it is "New Folder1".

Then please suggest me where to place the EXE file..

and does we need to modify the source code..does it will ask for password..I have tried but nothing happens ..I can see the "New Folder1" which I want to lock and can access it without any blocking..
shyamno is offline  
Old 26-12-2006, 11:38 PM   #6 (permalink)
Broken In
 
Tushar.bar's Avatar
 
Join Date: Jan 2006
Posts: 123
Default Re: locking drive and folders from registry!!!

How to hide folder in windows XP without using folder guard
Tushar.bar is offline  
Old 27-12-2006, 10:59 AM   #7 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Smile Re: locking drive and folders from registry!!!

Hi, I have already created an application under Visual Basic 6.0, that achieves folder locking in the same way. It allows You to add a password to the application so that no one else may unlock the folder. I have uploaded the zip file for the application with the thread 'Locking Folders Without Commercial Softwares' Locking folders without commercial softwares. . I have uploaded a file that has many CLSID values and the corresponding folders so that you can use them in the code provided by niku_19jan

Last edited by redhat; 27-12-2006 at 04:40 PM.
redhat is offline  
Old 27-12-2006, 03:12 PM   #8 (permalink)
Apprentice
 
niku_19jan's Avatar
 
Join Date: Nov 2006
Posts: 94
Default Re: locking drive and folders from registry!!!

Quote:
Originally Posted by aditya.shevade
@niku_19jan.... thanks man. All I have to do now is just add a password in the source code
u r most welcome...
__________
bro shyamno its works n place the exe file under newfolder

Last edited by niku_19jan; 27-12-2006 at 03:12 PM. Reason: Automerged Doublepost
niku_19jan is offline  
Old 27-12-2006, 06:22 PM   #9 (permalink)
Dreaming Future
 
kin.vachhani's Avatar
 
Join Date: May 2005
Location: \internet\home
Posts: 177
Smile locking drive and folders from registry!!!

thx all for help. It all Works
__________________
World without Computer is like a man without Brain.....
kin.vachhani is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 05:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2