14-08-2006, 12:33 AM
|
#1 (permalink)
|
|
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
|
giving limit to each user in my pc..
can i do this..
say i hav win xp wit sp 2 and one administrator account and one limited account.. is it possible to give only one drive access to the limited account.. any drive which the administrator would specify..
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
14-08-2006, 12:48 AM
|
#2 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: giving limit to each user in my pc..
Why not!
Just login as the user, to which u want to restrict the drives and then open regedit and goto:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
In right-side pane, create a new DWORD value NoViewOnDrive and change its value as following:
Quote:
3 : To Restrict A and B drives only.
4 : To Restrict C drive only.
7 : To Restrict A, B, and C drives only.
8 : To Restrict D drive only.
F : To Restrict A, B, C, and D drives only.
03FFFFFF : To Restrict all drives.
|
|
|
|
14-08-2006, 12:54 AM
|
#3 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: giving limit to each user in my pc..
Thats an excellent trick there, but what about more specific blockage, like say I got 5 partitons and want the user to just view G of CDEFG ?
__________________
Harsh J
www.harshj.com
|
|
|
14-08-2006, 01:23 AM
|
#4 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: giving limit to each user in my pc..
For this, u can use decimal no. instead of hexadecimal no. Following is a list for all drives decimal no.:
Quote:
A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
I: 256
J: 512
K: 1024
L: 2048
M: 4096
N: 8192
O: 16384
P: 32768
Q: 65536
R: 131072
S: 262144
T: 524288
U: 1048576
V: 2097152
W: 4194304
X: 8388608
Y: 16777216
Z: 33554432
ALL: 67108863
|
So if u want to disable a combination of drives, just sum their numbers and give the same value to NoViewOnDrive. e.g., as u asked for restricting CDEF drives, then give the value: 4+8+16+32 = 60...
|
|
|
14-08-2006, 06:37 AM
|
#5 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: giving limit to each user in my pc..
Oh wow cool, thanks !
__________________
Harsh J
www.harshj.com
|
|
|
14-08-2006, 07:46 AM
|
#6 (permalink)
|
|
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
|
Re: giving limit to each user in my pc..
thnx... thats cool.. thnx again buddy
|
|
|
14-08-2006, 12:56 PM
|
#7 (permalink)
|
|
In The Zone
Join Date: Nov 2005
Location: Bangalore
Posts: 487
|
Re: giving limit to each user in my pc..
if u want to hide the drives then create the DWORD NoDrives.......and use the values as stated by vishal......
(this trick was given in DIGIT's Take a Crack Section).......he..he..he..
__________________
eXPerience is what a MAN learn's fROM.....
|
|
|
14-08-2006, 03:06 PM
|
#8 (permalink)
|
|
Guest
|
Re: giving limit to each user in my pc..
You want flexibility? Here's how to get the ultimate flexibility. (must have NTFS)
right click on any partition and go to quota tab, check on the enable quota management Now click on quota entries.(You can add the users there while limiting the disk space and the level at which to issue warning.)
This can be done on all the drives
|
|
|
|
14-08-2006, 05:31 PM
|
#9 (permalink)
|
|
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
|
Re: giving limit to each user in my pc..
Quote:
|
Originally Posted by i_kill
You want flexibility? Here's how to get the ultimate flexibility. (must have NTFS)
right click on any partition and go to quota tab, check on the enable quota management Now click on quota entries.(You can add the users there while limiting the disk space and the level at which to issue warning.)
This can be done on all the drives 
|
can u explane the quata limit a bit more.. and how to use for different users.. i wan to know it
|
|
|
14-08-2006, 11:51 PM
|
#10 (permalink)
|
|
Guest
|
Re: giving limit to each user in my pc..
Okey I'll explain these in steps (must have NTFS)
1) Right click on the partition to which you wanna assign quota and see its properties.
2) Go to the "quota" tab (its last one)
3) Press "Quota Entries...", a window will open.
4) Add a new entry in this window by going to "Quota" menu and then to "New Quota entry..."
5) Another window pops up. Enter the name of user to which you wanna assign quota, click OK and then enter the "Quota limit" and "Warning level"
6)Don't forget to check the "Enable Quota Management" check box.
7)Assign quota on all drives (0 where you don't want to the user to save anything)
|
|
|
|
16-08-2006, 01:35 AM
|
#11 (permalink)
|
|
œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜
Join Date: Aug 2006
Location: Bangalore
Posts: 1,046
|
Re: giving limit to each user in my pc..
thnx..
|
|
|
16-08-2006, 02:22 AM
|
#12 (permalink)
|
|
Alpha Geek
Join Date: Sep 2005
Location: Hyderabad
Posts: 560
|
Re: giving limit to each user in my pc..
As perfect as it sounds by Vishal!!!
If I have say NTFS partition I wud go to properties security and add the user and give no access from properties...
__________________
Some million years ago, the gods put down there feet, So firmly in to the ground that no man of sword nor pen, could ever chains the rules upon which The very fundament of metal was made.
|
|
|
12-09-2006, 12:20 PM
|
#13 (permalink)
|
|
Right Off the Assembly Line
Join Date: Sep 2006
Posts: 27
|
Re: giving limit to each user in my pc..
Hello,
Thanks for the trick...but what happens if the user again "regedits"...You said to login as "user" and do this trick....
How should one proceed....
|
|
|
12-09-2006, 04:30 PM
|
#14 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: giving limit to each user in my pc..
In that case u can also restrict Registry editing either from registry itself or using gpedit.msc
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|