Reset Permissions

Posted on 2006-07-20
Last Modified: 2008-03-17
Is there a way to reset all all file share permissions back to default levels on an XP Home machine?  XP Pro?
Question by:CTSLA
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 17146082
This procedure obtained from;en-us;304040 may work:

"Turning on and turning off Simple File Sharing
Simple File Sharing is always turned on in Windows XP Home Edition-based computers. By default, the Simple File Sharing UI is turned on in Windows XP Professional-based computers that are joined to a workgroup. Windows XP Professional-based computers that are joined to a domain use only the classic file sharing and security interface. When you use the Simple File Sharing UI (that is located in the folder's properties), both share and file permissions are configured.

To turn Simple File Sharing on or off in Windows XP Professional, follow these steps: 1.      Double-click My Computer on the desktop.
2.      On the Tools menu, click Folder Options.
3.      Click the View tab, and then select the Use Simple File Sharing (Recommended) check box to turn on Simple File Sharing. (Clear this check box to turn off this feature.)"

I am unfamiliar with your computing experience so my apologies if this sounds elementary to you or if it is not what you are looking for.

Good luck!

Expert Comment

ID: 17146851
I'm not quite sure I understand the question here - are you refering to NTFS file permissions, network sharing permissions on files, windows xp security policies? Perhaps you can explain your problem in a little more detail - are you having trouble accessing files?

Sorry I can't be of more assistance.  Provide some more details, and I'll do what I can to help.

Author Comment

ID: 17158597
I did find a MS KB article that resets security settings back to defaults (313222).  I have not been back to try it yet.

I can't access shared files or printers in either direction.  I can ping the IP address of each workstation and computer name.  The shared folders show up in Network Places, but when I try to access, I get the message about not having permission to access that resource.  All firewalls are off.  One computer is 6 months old, and the other is 2 weeks old.

As far as whether I want to reset NTFS file permissions, network sharing permissions on files, or windows xp security policies - the best answer I can give is I'd like to set everything back to default.  I don't know enough about distinctions among the three to know which one is causing the problem, but I have to believe there is a way to just reset everything back to original.  Someone must have made a script somewhere along the way.  Hopefully the KB article referenced above works.
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.


Accepted Solution

SConnaught earned 250 total points
ID: 17229120
Im sure about a script but there is a tool  call "ERD Commander" that many admins use for this purpose. I have used it many times to reset ntfs permisson on a whole  hard drive. Look around on the net to see if you might get lucky finding a copy because it does cost a bit.

Author Comment

ID: 17374168
Tried all of the above but nothing worked.  The MS article applied only to XP Pro.  Simple file sharing cannot be disabled in XP Home.  Could not find the location to reset permissions using ERD Commander.  I used system restore on one of the laptops, and that worked fine to resolve the problem.  But the other laptop has had way too much hardware and software installed since the problem occurred to use system restore.  Will probably do a reinstall.

Expert Comment

by:Jozef Woo
ID: 20914730
I usually reset my NTFS persmissions to default using commandline scripting. You can use the secedit command for other (administrative) security tasks as well and most of the commands can be found on the MS Knowledge Base. To help you along with your specific question;

1. To reset your default permissions first go to Start - Run
2. Type "cmd" or press Enter and you will get the Command Prompt
3. Type in the following command line:

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

     and press Enter

4. It will start resetting all the default NFTS permissions (back to factory state). After that a message
will appear that for some files the permissions could not be reset. You can ignore the message.

5. For safety: reboot your machine using the gpupdate command: Start -> Run -> "gpupdate /force" - OK
Press y and enter to acknowlegdge.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

627 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