giving limit to each user in my pc..

Discussion in 'QnA (read only)' started by the.kaushik, Aug 14, 2006.

Thread Status:
Not open for further replies.
  1. the.kaushik

    the.kaushik œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜

    Joined:
    Aug 11, 2006
    Messages:
    1,046
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Bangalore
    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..
     
  2. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    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\CurrentVersion\Policies\Explorer

    In right-side pane, create a new DWORD value NoViewOnDrive and change its value as following:

     
  3. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    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 ?
     
  4. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    For this, u can use decimal no. instead of hexadecimal no. Following is a list for all drives decimal no.:

    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...
     
    tuxfan likes this.
  5. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    Oh wow cool, thanks !
     
  6. OP
    OP
    the.kaushik

    the.kaushik œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜

    Joined:
    Aug 11, 2006
    Messages:
    1,046
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Bangalore
    thnx... thats cool.. thnx again buddy
     
  7. ayush_chh

    ayush_chh Member

    Joined:
    Nov 25, 2005
    Messages:
    525
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    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..:D
     
  8. SE><IE

    SE><IE Guest

    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 :D
     
  9. OP
    OP
    the.kaushik

    the.kaushik œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜

    Joined:
    Aug 11, 2006
    Messages:
    1,046
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Bangalore
    can u explane the quata limit a bit more.. and how to use for different users.. i wan to know it
     
  10. SE><IE

    SE><IE Guest

    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)
     
  11. OP
    OP
    the.kaushik

    the.kaushik œ∑´®†¥¨ˆøπåß∂ƒ©˙∆˚¬Ω≈ ç√∫˜

    Joined:
    Aug 11, 2006
    Messages:
    1,046
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Bangalore
  12. __Virus__

    __Virus__ New Member

    Joined:
    Sep 15, 2005
    Messages:
    560
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Hyderabad
    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...
     
  13. Dongay Rajasekhar Panda

    Dongay Rajasekhar Panda New Member

    Joined:
    Sep 11, 2006
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    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....
     
  14. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    In that case u can also restrict Registry editing either from registry itself or using gpedit.msc
     
Thread Status:
Not open for further replies.

Share This Page