windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/cht/msie40.cmd

65 lines
1.6 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@Echo off
Rem
Rem <20>b<EFBFBD>w<EFBFBD>˫<EFBFBD><CBAB>A<EFBFBD>t<EFBFBD>κ޲z<DEB2><7A><EFBFBD><EFBFBD><EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD>o<EFBFBD>ӫ<EFBFBD><D3AB>O<EFBFBD><4F>
Rem
CD /D "%SystemRoot%\Application Compatibility Scripts\Install" > NUL: 2>&1
If Not "A%1A" == "AA" Goto cont0
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
If "%_CHKROOT%" == "FAIL" Goto Done
:cont0
If "A%1A" == "AA" ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msie40.key msie40.key
..\acsr "#SYSTEMROOT#" "%SystemRoot%" Template\msie40s.key msie40s.key
If Exist "%SystemRoot%\Setup.ini" Goto Cont2
Copy NUL: "%SystemRoot%\Setup.ini" > NUL: 2>&1
:Cont2
Cacls "%SystemRoot%\Setup.ini" /E /T /G "Authenticated Users":F >Nul: 2>&1
If Exist "%SystemRoot%\Setup.old" Goto Cont3
Copy NUL: "%SystemRoot%\Setup.old" > NUL: 2>&1
:Cont3
Attrib +r "%SystemRoot%\Setup.old" > NUL: 2>&1
FindStr /I Msie4Usr %SystemRoot%\System32\UsrLogn1.Cmd >Nul: 2>&1
If Not ErrorLevel 1 Goto Cont4
Echo Call Msie4Usr.Cmd >> %SystemRoot%\System32\UsrLogn1.Cmd
:Cont4
Rem <20>p<EFBFBD>G<EFBFBD>ثe<D8AB><65><EFBFBD>O<EFBFBD>w<EFBFBD>˼Ҧ<CBBC><D2A6>A<EFBFBD>N<EFBFBD>ܧ󦨦w<F3A6A8A6>˼Ҧ<CBBC><D2A6>C
Set __OrigMode=Install
ChgUsr /query > Nul:
if Not ErrorLevel 101 Goto Begin
Set __OrigMode=Exec
Change User /Install > Nul:
:Begin
If "A%1A" == "AA" regini Msie40.key > Nul:
regini Msie40s.key > NUL:
Rem If original mode was execute, change back to Execute Mode.
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
Set __OrigMode=
If Not "A%1A" == "AA" Goto Done
Echo.
Echo <20><><EFBFBD>F<EFBFBD><46><EFBFBD><EFBFBD> MS IE 4 <20><><EFBFBD>T<EFBFBD>ާ@<40>A<EFBFBD>ثe<D8AB>w<EFBFBD>n<EFBFBD>J<EFBFBD><4A>
Echo <20>ϥΪ̥<CEAA><CCA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>X<EFBFBD>A<EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD>n<EFBFBD>J<EFBFBD>A<EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Echo <20><><EFBFBD>ε{<7B><><EFBFBD>C
Echo.
Echo Microsoft Internet Explorer 4.x <20>h<EFBFBD>ϥΪ<CFA5><CEAA><EFBFBD><EFBFBD>ε{<7B><><EFBFBD>վ<EFBFBD><D5BE>B<EFBFBD>z<EFBFBD><7A><EFBFBD><EFBFBD>
Rem <20>b IE AutoInstall <20>L<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>Ȱ<EFBFBD>
Pause
:Done