@Echo Off Cls Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd" If "%_CHKROOT%" == "FAIL" Goto Done Echo. Echo ÀÌ ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇϱâ Àü¿¡, Administrator´Â Access ÀÛ¾÷ µð·ºÅ͸®¸¦ Echo »ç¿ëÀÚÀÇ Office private µð·ºÅ͸®·Î º¯°æÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo º¯°æÇÑ ÈÄ ¾Æ¹« Å°³ª ´©¸£¸é °è¼ÓµË´Ï´Ù. Echo. Echo ±×·¸Áö ¾ÊÀ¸¸é Administrator´Â ´ÙÀ½ ´Ü°è¸¦ ¼öÇàÇØ¾ß ÇÕ´Ï´Ù: Echo MS Access¸¦ ½ÃÀÛÇÏ¿© [º¸±â] ¸Þ´º¿¡¼­ [¿É¼Ç]À» ¼±ÅÃÇÕ´Ï´Ù. Echo "±âº» µ¥ÀÌÅͺ£À̽º µð·ºÅ͸®"¸¦ "%RootDrive%\OFFICE43"À¸·Î ¹Ù²ß´Ï´Ù. Echo MS Access¸¦ Á¾·áÇÕ´Ï´Ù. Echo. Echo Âü°í: [º¸±â] ¸Þ´º¸¦ º¸·Á¸é »õ µ¥ÀÌÅͺ£À̽º¸¦ ¸¸µé¾î¾ß ÇÕ´Ï´Ù. Echo. Echo ÀÌ ´Ü°è¸¦ ¿Ï·áÇÑ ÈÄ ¾Æ¹« Å°³ª ´©¸£¸é °è¼ÓµË´Ï´Ù... Pause > NUL: Echo. Echo MS Office 4.3À» "%SystemDrive%\MSOFFICE"°¡ ¾Æ´Ñ ´Ù¸¥ µð·ºÅ͸®¿¡ ¼³Ä¡ÇÑ °æ¿ì, Echo Ofc43ins.cmd¸¦ ¾÷µ¥ÀÌÆ®ÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo Ofc43ins.cmd ¾÷µ¥ÀÌÆ®¸¦ ½ÃÀÛÇÏ·Á¸é ¾Æ¹« Å°³ª ´©¸£½Ê½Ã¿À... Echo. Pause > NUL: Notepad Ofc43ins.cmd Pause Call ofc43ins.cmd ..\acsr "#OFC43INST#" "%OFC43INST%" ..\Logon\Template\ofc43usr.cmd ..\Logon\ofc43usr.cmd ..\acsr "#SYSTEMROOT#" "%SystemRoot%" ..\Logon\Template\ofc43usr.key ..\Logon\Template\ofc43usr.bak ..\acsr "#OFC43INST#" "%OFC43INST%" ..\Logon\Template\ofc43usr.bak ..\Logon\ofc43usr.key Del /F /Q ..\Logon\Template\ofc43usr.bak Rem Rem Âü°í: ÀÌ ½ºÅ©¸³Æ® ³»ÀÇ CACLS ¸í·É¾î´Â NTFS·Î Æ÷¸ËµÈ ÆÄƼ¼Ç¿¡¼­¸¸ Rem »ç¿ëµÉ ¼ö ÀÖ½À´Ï´Ù. Rem Rem ÇöÀç ¼³Ä¡ ¸ðµå¿¡ ÀÖÁö ¾ÊÀ¸¸é ¼³Ä¡ ¸ðµå·Î º¯°æÇÕ´Ï´Ù. Set __OrigMode=Install ChgUsr /query > Nul: if Not ErrorLevel 101 Goto Begin Set __OrigMode=Exec Change User /Install > Nul: :Begin regini Office43.key > Nul: Rem ¿ø·¡ ¸ðµå°¡ ½ÇÇà ¸ðµå¿´À¸¸é, ½ÇÇà ¸ðµå·Î ´Ù½Ã º¯°æÇÕ´Ï´Ù. If "%__OrigMode%" == "Exec" Change User /Execute > Nul: Set __OrigMode= Rem Rem Office 4.3¿ë INI ÆÄÀÏ ¾÷µ¥ÀÌÆ® Rem Rem ExcelÀÌ Office Toolbar¿¡¼­ ½ÃÀÛÇÒ ¶§ msoffice.ini¿¡ ÀÖ´Â ÀÛ¾÷ µð·ºÅ͸®¸¦ Rem ¼³Á¤ÇÕ´Ï´Ù. Office ToolbarÀÇ Ç¥ÁØ ±¸¼ºÀº ExcelÀ» Word µÚ¿¡ µÎ ¹ø°·Î Rem Ç¥½ÃÇÕ´Ï´Ù. msoffice.ini°¡ ¾øÀ¸¸é, %SystemRoot%¿¡ ¸¸µé¾îÁú Rem °ÍÀÔ´Ï´Ù. ..\Aciniupd /e "Msoffice.ini" "ToolbarOrder" "MSApp1" "1,1," ..\Aciniupd /e "Msoffice.ini" "ToolbarOrder" "MSApp2" "2,1,,%RootDrive%\office43" ..\Aciniupd /e "Winword6.ini" "Microsoft Word" USER-DOT-PATH "%RootDrive%\OFFICE43\WINWORD" ..\Aciniupd /e "Winword6.ini" "Microsoft Word" WORKGROUP-DOT-PATH "%OFC43INST%\WINWORD\TEMPLATE" ..\Aciniupd /e "Winword6.ini" "Microsoft Word" INI-PATH "%RootDrive%\OFFICE43\WINWORD" ..\Aciniupd /e "Winword6.ini" "Microsoft Word" DOC-PATH "%RootDrive%\OFFICE43" ..\Aciniupd /e "Winword6.ini" "Microsoft Word" AUTOSAVE-PATH "%RootDrive%\OFFICE43" ..\Aciniupd /e "Excel5.ini" "Microsoft Excel" DefaultPath "%RootDrive%\OFFICE43" ..\Aciniupd /e "Excel5.ini" "Spell Checker" "Custom Dict 1" "%RootDrive%\OFFICE43\Custom.dic" ..\Aciniupd /k "Msacc20.ini" Libraries "WZTABLE.MDA" "%RootDrive%\OFFICE43\ACCESS\WZTABLE.MDA" ..\Aciniupd /k "Msacc20.ini" Libraries "WZLIB.MDA" "%RootDrive%\OFFICE43\ACCESS\WZLIB.MDA" ..\Aciniupd /k "Msacc20.ini" Libraries "WZBLDR.MDA" "%RootDrive%\OFFICE43\ACCESS\WZBLDR.MDA" ..\Aciniupd /e "Msacc20.ini" Options "SystemDB" "%RootDrive%\OFFICE43\ACCESS\System.MDA" Rem Rem WIN.INI ¾÷µ¥ÀÌÆ® Rem ..\Aciniupd /e "Win.ini" "MS Proofing Tools" "Custom Dict 1" "%RootDrive%\OFFICE43\Custom.dic" Rem Rem Artgalry Æú´õÀÇ »ç¿ë ±ÇÇÑ ¹Ù²Ù±â Rem cacls "%SystemRoot%\Msapps\Artgalry" /E /G "Terminal Server User":F > NUL: 2>&1 Rem Rem MSQuery Æú´õÀÇ »ç¿ë ±ÇÇÑ ¹Ù²Ù±â Rem cacls "%SystemRoot%\Msapps\MSQUERY" /E /G "Terminal Server User":C > NUL: 2>&1 Rem Rem AdminÀÌ ÀÌÀü ¹öÀüÀ» °¡Áö°í ÀÖÀ¸¹Ç·Î, Msacc20.ini¸¦ AdminÀÇ windows µð·ºÅ͸®·Î º¹»çÇÕ´Ï´Ù. Rem Copy "%SystemRoot%\Msacc20.ini" "%UserProfile%\Windows\" > NUL: 2>&1 Rem ¼³Ä¡ ÇÁ·Î±×·¥ÀÌ ·¹Áö½ºÆ®¸® Å°¸¦ ÀüÆÄÇÏÁö ¾Êµµ·Ï ´õ¹Ì ÆÄÀÏÀ» ¸¸µì´Ï´Ù. Copy NUL: "%UserProfile%\Windows\Ofc43usr.dmy" > NUL: 2>&1 attrib +h "%UserProfile%\Windows\Ofc43usr.dmy" > NUL: 2>&1 FindStr /I Ofc43Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1 If Not ErrorLevel 1 Goto cont2 Echo Call Ofc43Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd :cont2 Echo. Echo Administrator°¡ ·Î±×¿ÀÇÁÇß´Ù°¡ ´Ù½Ã ·Î±×¿ÂÇØ¾ß º¯°æ ³»¿ëÀÌ Àû¿ëµË´Ï´Ù. Echo ·Î±×¿ÂÇÑ ÈÄ, Administrator´Â ClipArt Gallery¸¦ ÃʱâÈ­Çϱâ À§ÇØ ´ÙÀ½ ´Ü°è¸¦ Echo ¼öÇàÇØ¾ß ÇÕ´Ï´Ù : Echo Word¸¦ ½ÇÇàÇÏ¿© [°³Ã¼ »ðÀÔ]À» ¼±ÅÃÇÕ´Ï´Ù. Echo Microsoft ClipArt Gallery¸¦ ¼±ÅÃÇÕ´Ï´Ù. Echo ³ªÅ¸³­ Ŭ¸³¾ÆÆ®¸¦ °¡Á®¿À±â À§ÇØ [È®ÀÎ]À» ´©¸¨´Ï´Ù. Echo ClipArt Gallery ¹× Word¸¦ ³¡³À´Ï´Ù. Echo. Echo Microsoft Office 4.3 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Æ©´×ÀÌ ¿Ï·áµÇ¾ú½À´Ï´Ù. Echo. Pause :Done