Secondary Logon (Run As): Starting Programs and Tools in Local Administrative Context

???? ?????? ???? ??????
???? ID: 225035 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
?????
This article applies to Windows 2000.Support for Windows 2000 ends on July 13, 2010.TheWindows 2000 End-of-Support Solution CenterWindows 2000 ?? ???? ????????? ?????? ?? ????? ????? ?? ??? ??? ??????? ????? ??? ???? ??????? ?? ??? ?????Microsoft ?????? Lifecycle ????.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

Windows secondary logon allows administrators to log on with a non-administrative account and still be able to perform administrative tasks (without logging off) by running trusted administrative programs in administrative contexts. ?? ???????? ??? ?????????? ????? ?? ?? ?????? ?????? ??????????: ??? ????????????? ?? ??? ??? ???? ?????? ?? ?? ???????????? ???? (?? ?? ???? ???????? ?????????? ?? ??? ??? ????? ?????????? ???? ?? ?????????? ?? ??? ???? ?? ?? ???? ?? ???????????? ????)?

???????? logons ??? ?? ??? ??????????? susceptible (???? Microsoft Internet Explorer ?? ????? ?? ???-????????? ??? ???? ?? ??????? ??? ???????????? ?????? ??? ?? ???) "?????? ?????" ????? ?? ??? ?? ???? ?? ?? ?????????? ?? ?????? ???????? ??? ?? ??????? ?????? ???

??? ?? ???????? ????? ??????? ?????? ???????????? ?? ??? ?????? ??, ?? ??? ?? ???? ?? ???????? ?? ???? contexts ?? ??? ???? ?? ??????? ????????? ?? ??????? ???? ?? ??? ?? ?? ???? ????? ?? ??? ???? ?? ?????????? ?????? ????? ???? ?? ?????

???????? ????? ???? Windows ?? ?? "?????" ??????? ?? ??? ???? ?? ??????? ???? ??? ??? Windows ?? ?? "?????" ??????? ?? ???? ?? ?? ????? ????? ????? ?? Windows ??????? ????, ?? Windows ??????? ?? ?????? ???? Windows ?? ??????? ??????? ??????? ?? ?? ????? ???? ???? ??????? ??? ??????? ?? ??? ???

???? ???????

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

?? ??? ??????? ?????????? ?? ??? ??? ??? ?? ????:
  1. ????? ????,???????????? ????,???????????:RUNAS /user:machine_name\administrator cmd, ????machine_name???? ???????? ?? ??? ??, ?? ???? ??? ????? ????OK.
  2. ?? ?????? ????? ????? ?????, prompting ?? ??? ??? ??????? ?? ???machine_name\administrator ????? ?????????? ???? ?? ??? ??????? ???? ???? ?? ENTER ??????
  3. ??? ??? ????? ???????????? ?????? ??? ?? ??? ????? ???? (????? ?? ?????? ?????? ???? ??????? ??? ??? ?? ??? ??machine_name\administrator).
??? ?? ????-?????? ???????????? ????????? ?? ????? ????? ?? ?? ??????? ???? ?? ???? ?? ???? ????

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

?? ??? ??????? ?????????? ?? ??? ??? ??? ?? ????:
  1. Windows 2000 ???, ????? ?????????????? ????????????,???????? ????.
  2. ???????????? ?????? ??? ????? ?? ??? ?????? ????? ????? ?? ??? ???? (?????? ?? ???:????????? ?????/???????).
  3. ????? ?? ?? ??? left-click ?? ????? ?? ????? ????? ??????? ?????
  4. ?????? ????SHIFT:????? ?? ????? ?? ????-????? ????? ???? ????? ?????? ??? ??? ?????...???? ?? ???? ???? ???? ??? ????? ???? ???
  5. ?????????? ??? ??? ?????...????? ?? ???? ????? ????? ?? ???, ?????? "?? ????????? ?? ??? ??? ???? ??????????" ????? ??? ???????
  6. ??????? ????? ??? ?????????? ???? ??? ?? ??????? ???? ????? ???: ????? ??? ?? ????????? ???? ?? ?????
  7. ?????????? ???? ?? ??? ??????????? ???? ????, ?? ??? ????? ????OK?? ???????????? ?????? ??? ????? ?? ?????? ????????? ??????? ?????

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

????? ?????? ???????? ??????? ????????? ?? ??? ??? ??????? ?? ????? ???? ??, ????? .EXE ??????? ?? ??????? ?? .TXT, .DOC ?? .MSC ??????? ?? ??? ??????? ???? ?????? ?? ??????? ?? ?? ???? ??? ??????

?? ??? ??????? ?????????? ?? ??? ??? ??? ?? ????:
  1. ????? ?? ??? ???? ???????? ?? ?? ??????? ????? ?? ??? Windows Explorer ?? ????? ????COMPMGMT.MSC.COMPMGMT.MSC???? \%WINDIR%\SYSTEM32 ?????????? ??? ??????? ???? ?? ????? ???????? ??? ??, ?? ?? \WINNT\SYSTEM32 ??????????, ??? ???????? ?? ????? ???
  2. ?? ??? ??????? ??????? ????compmgmt???? ??? left-click ?? ????? ?? ???????? ?? ??????
  3. ??? ?? ????SHIFT:?? ????-????? ???? ??? ?????Compmgmt ???? ?? ??? ??????????????? ?? ??????
  4. ?????????? ??? ??? ?????...????? ?? "???? ?????????? ?? ??? ??? ????? ?????????" ????? ????? ?? ??? ????? ??? ???????
  5. ??????? ?????? ??? ??? ?? ?????????? ???? ?? ??? ??????? ?????? ????? ????,OK.
?? ?? ??? ??? MMC ????? ??????? ???????????? ????????????-?? ??? ????? ?? ?????-?? ?? ??? ?? ??? ?? ???????????? ???????

?? ????? ?? ??? ??? ??????? ?? ??? ??? ???????? ???? ?? ?????? ???? ?? ?? ???????? ????????????? ?? ????? ???? ????? ?? ??? ??? ??????? ?? ???????? ?? ?? ???? ???:
  1. ??? ???? ?? MMC ????? ????? ?? ??????? ????Compmgmt ???? ?? ??? ????????? ???? ??? left-click ?? ????? ?? ???????? ?? ?????? ?? ??? ???? ?? ????? ?? ????-????? ???????.
  2. ??? ????? ????? ?? ???? ??????? ??? ???? ????, ??? ????? "????? ?????????? ?? ??? ??? ?????" ??? ??? ????? ?? ??? ???? ?? ????? ????OK??? ????? ????? ??? ?????
  3. ?? ???-????? ????Compmgmt ???? ?? ??? ???????????? ??????? ???? ?? ??? ??????
  4. ?? "???? ?????????? ?? ??? ??? ????? ?????????" ????? ????? ?? ??? ????? ??? ??????? ??????? ????? ??? ??????????? ???? ????? ?? ????? ????OK.
?? ????? ?? desire ????? ?? ????? ??? ????? ??????? ?????? ?? ??????? ????? ?? ??? ??? ??????? ?? ??? ????? ???? ?? ???? ???

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

?? ?????? ?????? ????????? ?? ????? ???? ??, ????? ?? ?? ???? ?? ????? ?? ??? ???????? ??????? ?????? ??? ??? ?? Windows ????????? ??????? ?? ???? ????

?? ??? ??????? ?????????? ?? ??? ??? ??? ?? ????:
  1. Windows Explorer ?? ????? ????, ????? ?? ????????? ?????NOTEPAD.EXE???? ?????????NOTEPAD.EXE???? \%WINDIR%\ ?????????? ??? ??????? ???? ?? ????? ???????? ??? ??, ?? ?? \WINNT\ ?????????? ??? ???????? ?? ????? ???
  2. ???? ?? ????? ???? ??? Notepad ????? ?? ???????? ?? ??????? ?????
  3. ??? ?? ????SHIFT:?????? ????? ?? ???? ?? ?? ????? ??????
  4. ?????????? ??? ??? ?????????? ?? "???? ?????????? ?? ??? ??? ????? ?????????" ????? ????? ?? ??? ????? ??? ???????
  5. ??? ?? ?????????? ???? ?? ??? ??????? ???? ????? ????? ????,OK.
?????? ?? ??????? ?? ????? ???????????? ?????? ????

???:: ??? ???? indication ?? ?? ??????? ?????? ????????? ?? ??? ?? ??????? ??? ?? due to the fact ?? ????????? ?? Windows ????????? ???? ?? ???? manipulated ????? ?????? ??? ?? ?????? ???? ??? ?? ???? contexts ?? ??????? ?? ?? ???? ??????????? ?? ??????? ?? confusion ???? ?? ???? ????

???????????? ?????? ???? ????? ?? .msc ???? ????? ??? ??? MMC ??????? ?? ??? ??

???? ??? ?? ??????, ???? ?????? .MSC ????? ?? ????? ???? ??COMPMGMT.MSC. ??? ??, ???? illustrated ???? ?? ????? ?? ??? ????? ??????? ?????? ??? MSC ????? ???? ?? ???????? ?? ???? ????

?? ??? ??????? ?????????? ?? ??? ??? ??? ?? ????:
  1. ????? ?? ????????? ????? ?? ??? Windows Explorer ?? ????? ????COMPMGMT.MSC???? ?????????COMPMGMT.MSC???? \%WINDIR%\SYSTEM32 ?????????? ??? ??????? ???? ?? ????? ???????? ??? ??, ?? ?? \WINNT\SYSTEM32 ??????????, ??? ???????? ?? ????? ???
  2. ??????? ????compmgmt???? ??? left-click ?? ????? ?? ???? ???????? ?? ??????
  3. ??? ?? ????SHIFT:????? ?? ?? ????-????? ????compmgmt???????? ?? ??????
  4. ?????????? ??? ??? ?????...????? ?? "???? ?????????? ?? ??? ??? ????? ?????????" ????? ????? ?? ??? ????? ??? ???????
  5. Type the name and password for the administrator account in the appropriate fields. ????? ????,OK.
A new MMC console will now appear with theComputer Managementsnap-in loaded. This snap-in is now running in the administrative context. In a similar fashion, a system administrator can create custom Microsoft Management Consoles containing frequently used administrative snap-ins and run them in administrative context using secondary logon.

Running the Windows Explorer Shell in Administrative Security Context

While logged on as a normal user:
  1. ???????????? ???????. ????-????? ?????????bar and select????? ???????.
  2. ????? ?????????????????? ?? ????? ????..
  3. ??? ????explorer.exe. ????? ????,????????? ?? ?????? ????. ????? ????,?????????? ???-?? ????? ??? ??????? ???????? ?????? ?? ?????? ?? ?? ????? ??????? ???? ??????? ???? ??? ??? ????????? ??? ?? ?????
  4. ????? ?????????????????? ?? ????? ????..
  5. ????? ????,??? ?????.
  6. ??????:RUNAS /user:????/????? ???Explorer. exe \administrator. ????? ????,OK.
  7. ???? ?????? ????? ????? ???? ?? ??????? ?? ??? ????? ???? ????? ??????? ???? ????, ????? ?? ??????? ?????ENTER. ???????? ?? ????? ?????, ???????, ????????? ??????? ????, ??? ????? ???? ??????
  8. ?????? ???????????? ????? ???? ???? ?????? ?? ???: ????????????,????????, ?????????? ???????????? ???? ??? ???????????? ?????? ??? ???? ??????
  9. ?? ?? ???? ??, ?? ??? ?? ??????????? ??? ?? ??? ???????? ??? ?? ??????? ?? ?????, originating ?????????? ?? ?????? ??? ?? ??? ???

???? ??????? Contexts ??? ?? ??? ??

??? ??????, ???????? ????? ???????????? ?????? ??? ?? ??? ?? ?? ????? ??????? ???????, ?? ???? preclude ?? ?????? ?? ????? ??? ???? ??????? contexts utilize ???? ?? ??????? ??????????, ?? ?????? ???? ????????? ?? ????? ?????? ??? ?? ??? ?? ??????? ?????? ??? ?? ???:
  • ???????? ?????? ?? ??? ????? ???? ??????????? ?????? ?? ???? ???
  • ???????? ?????? ???? ??? ????? ????????? ??? ?? ??? ?? ?????????? ???
  • ????????? ?? ????? ?????? ?? ?????? ??, ?? ???????? ?????? ?? ?????? ?? ???? ???

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

  • Windows 2000 ??? ?????? ?? ???????? ??? ?? ???? ??????? ???? ??? ????-????? ???????? ?????????? ????-????? ????, ?? ???? ??????????? ????. ??????????? ?????????? ?????????? ?????????? ????,??????, ?? ???? ??? ????????? ???? ??? ???????? ????? ???? ???? ?? ?? ???
  • ??????????? ?????? ???? ??? ??? ???? ????????? Windows ????? ??????? ?? ?????? ?? ??? ?????? ?????? ????????????? ?? ???? ?????
  • ?? ??????? ???? ?? ?????? ???? ?? ???? ?? ?? ??? ??????? ?? ?? ????????????? ?? ?? ??? ?? ?????? ???? ?? ??? ????? ???? ?? EXE ??? ???? EXE ??????? ???? ?? ??? ????? ?? ?? ??? ?? ???? ??? ??????????? EXE ??????? ???? ?? ??? ????? ???? ??? ?? ???? ?? ??????? ?? ?? ????? ???? ??? ???????Windows ????? ??????????? ????? ????RUNAS, ???: ?????? ???? ?? ??? ??????? ?? ?? ???net use, ?? ???? ??? EXE ??????? ?????
  • ??? ??????????? indirectly ?? ??????? ???? ???Windows Explorer ???. ?? ???????? ???????????? ????,??????? ??????, ???? ??? ????????? ????? ?? ??? ??? ???????? ??????? ?????? ??????? ???? ??, ??????? ?? ??????? ?????? ??? ??? ??? ?? ??? ????????? ??????? ???? ???? ?? ???? ?????? ?? ??????? ???? ??? ????? ????? ???? ??? ??? ?????...?? ?????? ??? killing ?? ?????????????????? ??????????????? ?????? ???

???

???? ID: 225035 - ????? ???????: 02 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
??????: 
kbenv kbhowto kbmt KB225035 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:225035

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

 

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