windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/kor/chkroot.cmd

70 lines
1.8 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
Set _CHKROOT=PASS
Cd "%SystemRoot%\Application Compatibility Scripts"
Call RootDrv.Cmd
If Not "A%ROOTDRIVE%A" == "AA" Goto Cont2
Echo REM > RootDrv2.Cmd
Echo Rem <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α׷<CEB1> ȣȯ <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD>, >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD><EFBFBD> <20>͹̳<CDB9> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD> <20><><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >> RootDrv2.Cmd
Echo Rem Ȩ <20><><EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>մϴ<D5B4>. >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD> <20><><EFBFBD>ڸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD><CFB7><EFBFBD> "Set RootDrive" <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>Ͻʽÿ<CABD>. <20><>ȣ<EFBFBD>ϴ<EFBFBD> <20><><EFBFBD>ڰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >> RootDrv2.Cmd
Echo Rem W: <20><><EFBFBD><EFBFBD><EFBFBD>̺긦 <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>. <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>: >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo REM Set RootDrive=W: >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD> <20><><EFBFBD>ڿ<EFBFBD> <20>ݷ<EFBFBD> <20><><EFBFBD>̿<EFBFBD> <20><> ĭ<><C4AD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȯ<><C8AE><EFBFBD>Ͻʽÿ<CABD>. >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo Rem <20><> <20>۾<EFBFBD><DBBE><EFBFBD> <20>Ϸ<EFBFBD><CFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> >> RootDrv2.Cmd
Echo Rem NotePad<61><64> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α׷<CEB1> ȣȯ <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻʽÿ<CABD>. >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo. >> RootDrv2.Cmd
Echo Set RootDrive=>> RootDrv2.Cmd
Echo. >> RootDrv2.Cmd
NotePad RootDrv2.Cmd
Call RootDrv.Cmd
If Not "A%ROOTDRIVE%A" == "AA" Goto Cont1
Echo.
Echo <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α׷<CEB1> ȣȯ <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD>,
Echo <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȩ <20><><EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD> <20><><EFBFBD>ڸ<EFBFBD>
Echo <20><><EFBFBD><EFBFBD><EFBFBD>Ͻʽÿ<CABD>.
Echo.
Echo <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD>ϴ<EFBFBD>.
Echo.
Pause
Set _CHKROOT=FAIL
Goto Cont3
:Cont1
Rem
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>α׿<CEB1> <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> ȣ<><C8A3><EFBFBD>Ͽ<EFBFBD> <20><>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD>̺긦 <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>. <20><><EFBFBD><EFBFBD>
Rem <20><>ġ <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α׷<CEB1><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.
Rem
Call "%SystemRoot%\System32\UsrLogon.Cmd
:Cont2
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> RootDrive Ű<><C5B0> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
echo HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server > chkroot.key
echo RootDrive = REG_SZ %ROOTDRIVE%>> chkroot.key
regini chkroot.key > Nul:
:Cont3
Cd "%SystemRoot%\Application Compatibility Scripts\Install"