Restore Windows SERVER 2003 default permissions

Source: Internet
Author: User
Keywords NBSP; 2003 can NTFS execute

Windows server http://www.aliyun.com/zixun/aggregation/19058.html ">2003 is the most widely used server operating system currently introduced by Microsoft. Initially, the product, called "Windows. NET Server", was originally called "Windows. NET Server 2003" and changed to "Windows. NET Server 2003" and was eventually changed to "Windows Server 2003", Released on March 28, 2003 and listed at the end of April of the same year.

This version has made a lot of improvements relative to Windows 2000, especially with improved scripting and command-line tools, an innovation for Microsoft-bringing a complete command shell into the next version of windows--.

Improvement
Many improvements have been made in this release, in particular:
Improved Active Directory (Active Directory) (if you can remove a class from a schema)
Improved group Policy (Group Policy) operations and management
Improved disk management, such as backing up files from shadow copy (shadow copy).
Version
There are several versions of Windows Server 2003, each suitable for different business needs:
Windows Server 2003 Web version
Windows Server 2003 Standard Edition
Windows Server 2003 Enterprise Edition
Windows Server 2003 Datacenter Edition

When the WIN2003 is securely configured, often inadvertently put the permissions set off, resulting in the ASP can not perform/php/some services can not start, and so strange fault, if you have done all the permissions set records, you can step by step reverse back to solve the problem, if there is no record, The easiest way to do this is to restore the default permissions.
Use the following command only:




secedit/configure/db%systemroot%\security\database\cvtfs.sdb/cfg "%systemroot%\security\templates\setup Security.inf "/areas Filestore

Wait for completion. Because the permissions cause the failure should all be resolved. Then you can reset the permissions.




@ECHO off


setlocal


Echo ===============================


echo Windows2003 restores default NTFS permissions


Echo Beijing It club


Echo beijingit.cnblogs.com


Echo ==============================


Title restore default NTFS permissions


: Menu


Echo.


Echo [1] Restores the C disk default NTFS permissions [after reboot]


Echo [0] exits


Echo.


@echo Enter the number above and press ENTER


@echo off


set/p menu=


if%menu% = = 0 goto exit


if%menu% = = 1 goto 1


: 1


Echo restores the C disk NTFS permissions to the default, please ....


secedit/configure/db%systemroot%\security\database\cvtfs.sdb/cfg "%systemroot%\security\templates\setup Security.inf "/areas Filestore


Echo.


Echo Recovery completes after reboot ^_^


Echo.


Goto Menu


: Exit


Exit


Save this script as a bat, execute it.

Author: Beijing It Club

Source: http://www.cnblogs.com/beijingit/archive/2010/02/28/1675016.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.