Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


I set share permission to Everyone - Deny...  Locked out

Posted on 2003-02-25
Medium Priority
Last Modified: 2008-02-01
I know - dumb move - I wasn't thinking, and set the permissions on a shared folder for Everyone to Deny All, thinking that because I had full access to the entire drive, that I'd still be able to get in.  Big OOPs...

Is there a fix ?
Question by:JamieDC

Expert Comment

ID: 8022619
Change the permissions on the folder.

Right-click and select sharing -> permissions.

You have to be the 'owner' in order to do this though.

hope that helps
LVL 34

Accepted Solution

sramesh2k earned 200 total points
ID: 8022918

First, take ownsership of the folder and revert to previous security setting.

To take ownership of a file system object:

1. Right-click the object and press Properties.

2. Select the Security tab and press Advanced.

3. Select the Owner tab.

4. In the Change owner to box, select the account that you wish to take ownership and press Apply. You may want to check Replace owner on subcontainer and objects.

IF this does not help,

Use the calcs.exe command line and reset the permissions.

The following comand line paramenter will change the ACLs of all files and directories on drive C to allow full control for the Administrators local group:

cacls c:\ /t /e /g Administrators:f

Expert Comment

ID: 8024738
That's right login as Administrator
and take ownership of the folder..

Then designate a new ACL as you see fit..

Just don't make the mistake again :)

Take Care
LVL 13

Expert Comment

ID: 8024885
You are stating that you set the "share permissions" right?  Not the file permissions - right??

If you set the file permissions then do as stated by everyone above.  If you set the share permissions, then go to the server/workstation, delete the share and recreate it.

If you want to deny access to others then set up a group that needs access and only apply that group.  Take all other groups out.  That will effectively "deny" others permissions, without killing those that need it.

Author Comment

ID: 8025792
Solved my problem - very concise, clear - worked like a charm.

Thanks - saved me reloading entire fileset.

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
How does storytelling impact the web? What goes into a great story on the web? And how can it be used for marketing purposes? All of these questions will be answered.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question