????? ??? ?????????? ???? ????? ????? Windows Server 2003

?????? ????????? ?????? ?????????
???? ???????: 325349 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ????? ??? ?????????? ?????? ?????? ????? ?????? ?? Windows Server 2003.

?????????? ??? ?????? ?????? ????????? ???? ??? ????? ?? ????? ? ??????, ??????? ?? ????? ???????. ???? ??? ??????? ????? ???? ???? ????????? ?? ??? ?????? ???????? ??? ?????????? ?????? ???????.

??????? 1: ??????? ??? ????????

????? ??????? "??? ????????" ??? ????? ???????? ??? ????? ??????. ?????? ??? ??????? ?????? ??? ????? ?????? ????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
324802HOW TO: ????? ???? ???????? ??? ?????? ???? ?????? ?????? ?? Windows Server 2003

??????? 2: ??????? ????? ??????

???????? ????? ?????? ??? ????? ???????? ??? ????? ?????? ????? ???? ????. ?????? ????? ???? ??????? ???????:
  1. ???? ??? ???? ???? ??? ????? ????? mmc ?? ?????? ??? ? ?? ???? ??? ?????.
  2. ?? ??????? ???? ???? ??? ?????/????? ???? ??????.
  3. ???? ??? ????? ? ???? ??? ????? ?????? ?????? ? ???? ??? ????? ? ???? ??? ????? ?? ???? ??? ?????.
  4. ?? ???? ???? ??????? ???? ??? ?????? ?????? ??? ????? ?????? ?????? ?? ???? ??? ??? ????? ????????.
  5. ????? ??? ????? ???????? ?? ???? ??? ???.
  6. ?? ???? ?????? ??????? ?????? ???? ????? ???? ??? ???? ?????? ???? ???? ???????? ?? ???? ??? ???.
  7. ?? ???? ???? ??????? ???? ??? ?????? ?????? ??? ????? ?????? ?????? ?? ???? ??? ????? ????????? ????.
  8. ?? ???? ?????? ????? ????? ???? ???? ???? ?????? ????????? ???? ????? ???? ??? ???? ?? ???? ???? ??? ??? ????? ?? ????? ?????? ???? ????? ?? ???? ??? ?????.
  9. ??? ????? ??????? ????? ?????? ??????? ??? ???:
    1. ?? ???? ???? ??????? ???? ??? ????? ??????.
    2. ?? ????? ??????? ???? ????? ??????? ??? ?????? ???? ???? ????? ????????.
    3. ???? ?????? ???? ???????? ????? ??? ????? ?? ????? ???????? ?? ???? ??? ????? ??????.
    4. ?????? ?????? ?????? ???? ?? ?????? ???? ??? ?????. ?? ???? ?????? ??? ???????? ?? ????? ???????? ?? ??????? ? ???? ??? ???????? ?? ???????? ???? ???? ????? ?????? ?? ?? ???? ??? ?????.
    5. ?? ??????? ?????? ?? User or Group ????? ???????? ???? ???? ???????? ?? ????????. ???? ??? ??? ????? ?????? ???? ?? ?????? ??? ????? ???? ???????? ?????? ??? ???? ??? "????" ? "?????" ? "????? ???? ???? ???????. ???? ??? ??????? ???????? ?? ???????? ??? ??? ????? ????? ?????? ??????.
    6. ???? ??? ????? ?????.
  10. ?????? ??????? ???? ????? ??? ????????? ??????, ???? ??? ?????? ?????? ??? ????? ?????? ?????? ?? ???? ??? ????? ????????? ????.
??????: ????? ??????? ????? ???? ??? ??????? Secedit ????? ?????? ???? ??????. ????? ?? ????????? ??? Secedit ???? ??? ???? ?? ???? ??? ?????. ???? cmd ?? ?????? ??? ? ?? ???? ??? ?????. ?? ???? ???????? ???? secedit / ? ? ?? ???? ENTER. ???? ??? ??? ??????? ??? ??????? ?? ????? ??????? ? ??? ????? ???? ????????? ?? ?????? ??? ?? ?????? ??? ??????? ?????? ?? ??????? ?? ?????? ??????? ??????.


??????? 3: ??????? Subinacl.exe

????? ??????? ??????? ????? ???? ?????? ????? ??????? ?????? ???????? Subinacl.exe ?? Windows 2000 Resource Kit. ???? ?????? ??? ??? ???:
\\MachineName\ServiceName /SERVICE SUBINACL /GRANT = UserName [DomainName\] [= Access]

?????????

  • ??? ?? ???? ??? ???????? ???? ??? ????? ??? ????? ???? ??????? ??? ???? ?????.
  • ??? ?? ??? MachineName ??? ?????? ????????? ??????.
  • ??? ?? ??? DomainName ??? ????? ?????? ?????? ?? ??????.
  • ??? ????? ?? ??? ?????? ???? ?????? ???? ??? ??? ?????? ? ??? ??? ???? ?? ??????? ?????????? ????.
  • ????? ???? ????? ??????? Access ??? ???:
       F : Full Control
       R : Generic Read
       W : Generic Write
       X : Generic eXecute
       L : Read controL
       Q : Query Service Configuration
       S : Query Service Status
       E : Enumerate Dependent Services
       C : Service Change Configuration
       T : Start Service
       O : Stop Service
       P : Pause/Continue Service
       I : Interrogate Service 
       U : Service User-Defined Control Commands
    						
  • ??? ?? ??? Access ??? ?????? "F (?????? ??????)".
  • ???? Subinacl ????? ?????? ??????? ??? ??????? ????????? ??????? ???????. ???? Windows 2000 Resource Kit ?????? ??? ???? ?? ?????????.

????? ??????? ??????

?? Subinacl ? ?? ???? ?? ???? ????? ???? ???? ????? ?????? ???????? ????? ??????? ??? ??????? ????. ??? ???? ???? ???????? ????? ???????? ?????? ????? ????? ???? ????? "??????? ???????" ?????? ??????:
   strDomain   = Wscript.Arguments.Item(0)'domain where computer account is held
   strComputer = Wscript.Arguments.Item(1)'computer netbios name
   strSecPrinc = Wscript.Arguments.Item(2)'user's login name as in: DomainName\UserName
   strAccess   = Wscript.Arguments.Item(3)'access granted, as per the list in the KB
 
   'bind to the specified computer
   set objTarget = GetObject("WinNT://" & strDomain & "/" & strComputer & ",computer")

   'create a shell object.  Needed to call subinacl later
   set objCMD = CreateObject("Wscript.Shell")

   'retrieve a list of services
   objTarget.filter = Array("Service")

   For each Service in objTarget
 
   'call subinacl to se the permissions
   command = "subinacl /service " & Service.name & " /grant=" & strSecPrinc & "=" & strAccess
   objCMD.Run command, 0

   'report the services that have been changed
   Wscript.Echo "User rights changed for " & Service.name & " service"
   next
					

?????????

  • ??? ???????? ????? ???? .vbs ??? "Services.vbs" ?? ??????? ??? ???:
       CSRIPT Services.vbs DomainName ComputerName UserName Access
    						
  • ??????? ?????? ?? ????? ??? 'Wscript.Echo'... ???? ??? ?? ???????.
  • ??? ?? ????? ??????? ??? ??????; ????? ???????? ??????.
  • ???? ????? Windows 2000 Resource Kit ?????? ???? ?????? ???? (svcacls.exe) ???? ???? ?????? ?????? ???? ????? ???? ??? ?? Subinacl. ??? ??? ?????.

???????

???? ???????: 325349 - ????? ??? ??????: 10/???? ??????/1430 - ??????: 8.1
????? ???
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
????? ??????: 
kbmt kbmgmtservices kbenv kbhowto kbhowtomaster KB325349 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????325349

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com