• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

TEMPORARILY share a folder between admin/nonadmin accounts


allend66

New Member
Posts
13
#1
My laptop has only ever had one admin user account with full access to sensitive information, but I have now added a non-admin account which needs occasional access to restricted content.

I want to give temporary access only to a personal folder.

It seems that once the non admin user opens the specific restricted folder (and I input my admin password), this gives permanent access to this folder. To deny access again, I have to log back into my admin account and click 'Stop Sharing'. Capture.PNG

Is there a way to time-out access, or have access automatically suspended via switch user/log off?

Many thanks
D
 

My Computer

System One

  • OS
    Windows 8.1 Core
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion 15-e073sa
    CPU
    AMD A4-5000M 1.5ghz
    Motherboard
    ?
    Memory
    8Gb DDR3
    Graphics Card(s)
    up to 1.98Gb shared
    Hard Drives
    750Gb SATA
    Browser
    ie10
    Antivirus
    MSE

MilesAhead

Eclectician
VIP Member
Pro User
Posts
2,130
#2
Instead of using Explorer you can get more control with
Net Use




Also in a command prompt run this for options list
net use /?
 

My Computer

System One

  • OS
    Windows 8.0 x64
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba Satelite C55D-A Laptop
    CPU
    AMD EI 1200
    Memory
    4 gb DDR3
    Graphics Card(s)
    Raedon 340 MB dedicated Ram
    Monitor(s) Displays
    Built in
    Screen Resolution
    1366 x 768
    Hard Drives
    640 GB (spinner) Sata II
    Keyboard
    Built in
    Mouse
    Touch pad

allend66

New Member
Posts
13
#3
Thank you MilesAhead.

As this is out of my knowledge & comfort zone, I'll need to play around with it. It looks like it might be time consuming to check the power of net user. I'll check back with my findings.

Cheers
D
 

My Computer

System One

  • OS
    Windows 8.1 Core
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion 15-e073sa
    CPU
    AMD A4-5000M 1.5ghz
    Motherboard
    ?
    Memory
    8Gb DDR3
    Graphics Card(s)
    up to 1.98Gb shared
    Hard Drives
    750Gb SATA
    Browser
    ie10
    Antivirus
    MSE

MilesAhead

Eclectician
VIP Member
Pro User
Posts
2,130
#4
Once you get the command line switches the way you want you can avoid typos by making .cmd files for connect and disconnect. I would look at making the connection non-persistent. To disconnect the share just use the delete switch.

Some example batch files and you'll be in business in no time. It's easier than it looks. :)
 

My Computer

System One

  • OS
    Windows 8.0 x64
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba Satelite C55D-A Laptop
    CPU
    AMD EI 1200
    Memory
    4 gb DDR3
    Graphics Card(s)
    Raedon 340 MB dedicated Ram
    Monitor(s) Displays
    Built in
    Screen Resolution
    1366 x 768
    Hard Drives
    640 GB (spinner) Sata II
    Keyboard
    Built in
    Mouse
    Touch pad

Users Who Are Viewing This Thread (Users: 0, Guests: 1)