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

70 lines
1.9 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><><EFBFBD>̃A<CC83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>݊<EFBFBD><DD8A><EFBFBD><EFBFBD>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɁA >> RootDrv2.Cmd
Echo Rem <20>^<5E>[<5B>~<7E>i<EFBFBD><69> <20>T<EFBFBD>[<5B>r<EFBFBD>X<EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>Ďg<C48E>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882>A<EFBFBD>e<EFBFBD><65><EFBFBD>[<5B>U<EFBFBD>[<5B>̃z<CC83>[<5B><> >> RootDrv2.Cmd
Echo Rem <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>Ƀ}<7D>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߂<EFBFBD><DF82>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B >> RootDrv2.Cmd
Echo Rem <20>}<7D>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>́A<CD81><41><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD>̉<EFBFBD><CC89>̕<EFBFBD><CC95>ɂ<EFBFBD><C982><EFBFBD> >> RootDrv2.Cmd
Echo Rem "Set RootDrive" <20>Ŏn<C58E>܂<EFBFBD><DC82>X<EFBFBD>e<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>Ɏw<C98E><EFBFBD>܂<EFBFBD><DC82>B >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD>ɍD<C98D>݂<EFBFBD><DD82>Ȃ<EFBFBD><C882><EFBFBD><EFBFBD><EFBFBD> W: <20>𐄏<EFBFBD><F090848F><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>ɂ<EFBFBD><C982>̗<EFBFBD><CC97><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo REM Set RootDrive=W: >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD><EFBFBD>: <20>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>ƃR<C683><52><EFBFBD><EFBFBD><EFBFBD>̌<EFBFBD><CC8C>ɂ̓X<CD83>y<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD>ɒ<EFBFBD><C992>ӂ<EFBFBD><D382>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B >> RootDrv2.Cmd
Echo REM >> RootDrv2.Cmd
Echo Rem <20><><EFBFBD>̍<EFBFBD><CC8D>Ƃ<EFBFBD><C682>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ۑ<EFBFBD><DB91><EFBFBD><EFBFBD>ă<EFBFBD><C483><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>A >> RootDrv2.Cmd
Echo Rem <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>݊<EFBFBD><DD8A><EFBFBD><EFBFBD>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>̎<EFBFBD><CC8E>s<EFBFBD>𑱂<EFBFBD><F091B182>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B >> 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><><EFBFBD>̃A<CC83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>݊<EFBFBD><DD8A><EFBFBD><EFBFBD>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɁA<C981>e<EFBFBD><65><EFBFBD>[<5B>U<EFBFBD>[
Echo <20>̃z<CC83>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>Ƀ}<7D>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߂<EFBFBD><DF82>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD>
Echo <20><><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Echo <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>͏I<CD8F><49><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo.
Pause
Set _CHKROOT=FAIL
Goto Cont3
:Cont1
Rem
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[ <20><><EFBFBD>O<EFBFBD>I<EFBFBD><49> <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>ă<EFBFBD><C483>[<5B>g<EFBFBD><67><EFBFBD>}<7D>b<EFBFBD>v<EFBFBD><76><EFBFBD>āA
Rem <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD>ɔ<EFBFBD><C994><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
Rem
Call "%SystemRoot%\System32\UsrLogon.Cmd
:Cont2
Rem <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD> RootDrive <20>L<EFBFBD>[<5B><><EFBFBD>ݒ肵<DD92>܂<EFBFBD><DC82>B
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"