´ë·«°ú ´º½º ´ç½ÅÀÇ Á¦ÀÏ Á¤º¸ Ãâó â, ¸¶ÀÌÅ©·Î¼ÒÇÁÆ® ±×¸®°í ±â°è¼³ºñ ÀÎÅͳݿ¡

ºñ½ºÅ¸ ±â»ç Á¤»ó 50 ºñ½ºÅ¸ ¿µ»ó ¿¬¾àÇÑ ºñ½ºÅ¸ ºñ½ºÅ¸ µµ¿ò

¹è¿­ Á¢¼ÓÇÏ´Â °ÍÀ» ½ÃµµÇØ »ç¿ëÀÚ "¸¦ À§ÇÑ" ¸Þ½ÃÁö ÅØ½ºÆ®


´ç½ÅÀÌ ÀÌÁ¦±îÁö ½ÃµµÇØ ºÒ·Á ´Þ¶ó°í ÇÏ´Â °æ¿ì¿¡ ¾ÈÀü ¼±ÅÃ±Ç Á¤Ã¥ Á¶Á¤À» Á¤ÀÇÇÑ: "»óÈ£ ÀÛ¿ëÇÏ´Â ·Î±×¿Â: " Á¢¼ÓÇÏ´Â °ÍÀ» ½ÃµµÇØ »ç¿ëÀÚ¸¦ À§ÇÑ ¸Þ½ÃÁö ÅØ½ºÆ®, ´ç½ÅÀº ´ç½ÅÀÌ ±×°ÍÀ» ¿øÇÑ ¹æ¹ý ¸î¸î ¾î·Á¿òÀÌ ¸Þ½ÃÁö¸¦ ¹è¿­ÇÏ´Â ÀÖÀ»Áöµµ ¸ð¸¥´Ù. ÀÌ blog´Â ¹æ¹ý" workaround¿¡ GPEDIT °ø±¸¿¡ ÀÖ´Â ÀÛÀº ¹ú·¹¡¦¿¡ °üÇÏ¿© "ÀÖ´Ù

 

¹®Á¦Á¡:

¿ì¼± ¸ÕÀú - ±×·ì Á¤Ã¥ Á¶Á¤Àº ¿©±â¿¡¼­ ã¾Æ³½´Ù:

"ÄÄÇ»ÅÍ ±¸¼º \ â Á¶Á¤ \ ¾ÈÀü Á¶Á¤ \ ÇöÁö Á¤Ã¥ \ ¾ÈÀü ¼±ÅÃ±Ç \"

°¡Ä¡´Â ´ç½ÅÀÌ ¸Þ½ÃÁö¿¡ ÀÖ´Â º¹¼ö ȸ¼±À» ¸¸µå´Â °ÍÀ» Çã¿ëÇÏ´Â ´Ù ²ö ±âÀÔ °¡Ä¡ÀÌ´Ù. ¸Þ½ÃÁö´Â »ç¿ëÀÚ°¡ »ç¿ëÀÚ¿¡°Ô ÀϹÝÀûÀÎ °æ°í·Î ½ÇÁ¦·Î Á¢¼ÓÇÑ Àü¿¡ Ctrl+Alt+Del¸¦ ¸íÁßÇÑ Á÷ÈÄ¿¡ °©Àڱ⠳ªÅ¸³­´Ù. ±×·¯³ª, ºÒ¿îÇÏ°Ô Æ÷¸ËÀ¸·Î ¸¸µëÀº ÀÏ ¼ö ÀÖ´Â °Íó·³ ¿ÏÀüÇÏÁö ¾Ê´Ù.

ÀϾ´Â ¹«¾ùÀÌ, Àú ij¸®Áö-¸®ÅÏ ºÐ½ÇµÈ´Ù ÀÌ°Í Ã³·³ ´ç½ÅÀÌ ¸Þ½ÃÁö¸¦ ¿øÇÒ °ÍÀ̶ó´Â Á¡À», »ó»óÇÑ´Ù ÀÌ´Ù GPEDIT¸¦ °¡Áø ÀÌ "Àü ·Î±×¿Â ¸Þ½ÃÁö"¸¦ ¹è¿­ÇÑ ÈÄ¿¡ (¼ýÀÚ 3¸¦ º¸½Ê½Ã¿À):

->

³ª´Â À̰ÍÀÌ ¾ÆÁÖ ´Ü´ÜÇØ¾ß ÇÏ´ÂÁö ¿Ö ¸ð¸£´Â°¡? Á¡ÇÁ ´ÙÀ½ ¼±¡¦

½°Ç¥¸¦ ÇÏÀÚ, °è¼ÓÇÑ´Ù ¼±À»¡¦
Çà ¹øÈ£ 4 ÁغñµÇ¾î ÀÖ°í, ±×·¯³ª ÇàÀ» Áö±Ý ¶Ù¾î¿À¸£ÀÚ 5 & 6¡¦

7 ÇàÀº ÀÌ À̾߱⸦ À§·Î ¿Ï·áÇÑ´Ù!

<-

¸Þ½ÃÁö´Â°ú °°Àº ³¡³¯ °ÍÀÔ´Ï´Ù (¼ýÀÚ 5¸¦ º¸½Ê½Ã¿À):

->

³ª´Â À̰ÍÀÌ ¾ÆÁÖ ´Ü´ÜÇØ¾ß ÇÏ´ÂÁö ¿Ö ¸ð¸£´Â°¡? Á¡ÇÁ ´ÙÀ½ ¼±¡¦
½°Ç¥¸¦ ÇÏÀÚ, °è¼ÓÇÑ´Ù ¼±À»¡¦
Çà ¹øÈ£ 4 ÁغñµÇ¾î ÀÖ°í, ±×·¯³ª ÇàÀ» Áö±Ý ¶Ù¾î¿À¸£ÀÚ 5 & 6¡¦
7 ÇàÀº ÀÌ À̾߱⸦ À§·Î ¿Ï·áÇÑ´Ù!

<-

ÀÌ·¸°Ô, ¹®Á¦´Â ±âº»ÀûÀ¸·Î: ¶óÀÎ ÇÇµå ¶Ç´Â Ä³¸®Áö-¸®ÅÏ ¶Ç´Â ºó ¼± ¿ÏÀüÇÏ°Ô »ç¶óÁø´Ù!

´ç½ÅÀº ½ÇÁ¦·Î GPEDIT GUI ³»ÀÇ À̰ÍÀ» º¼ ¼ö ÀÖ´Ù, ±×·¯³ª ´ÜÁö ´ç½ÅÀÌ "ÁÁ"ÀÇ ¾Õ¿¡ "Àû¿ëÇϸé" ¸íÁßÇØ¾ß¸¸ - ´ç½ÅÀÌ Æ÷¸ËÀ¸·Î ¸¸µëÀÌ ±×°Í ÀÏ °ÍÀδÙ) ÀÛµ¿Çϰí ÀÖ´Ù°í ´ç½ÅÀÌ GPEDIT ¹Ù²ï¤¤´Ù´Â °ÍÀ» º¼ ¼ö ¾ø´Â ´ç½ÅÀÇ ¸Þ½ÃÁö¿¡¼­ ŸÀÚ¸¦ Ä¡±â ÈÄ¿¡ ´Ù¸¸ "ÁÁ" ¸íÁßÇÏ´Â °æ¿ì¿¡ (±×·¡¼­ ´ç½Å¿¡ ÀÇÇØ ½ÇÁ¦·Î »ý°¢ÇϽʽÿÀ. ³ª´Â Windows XP SP2 (ÇöÁö Á¤Ã¥), â ¼­¹ö 2003 SP1 (¿µ¿ª Á¤Ã¥), â ºñ½ºÅ¸ SP Pre-RC (ÇöÁö Á¤Ã¥) ¹× â ¼­¹ö 2008 RC1 (¿µ¿ª Á¤Ã¥)¿¡ GPEDIT¸¦ °¡Áø ÀÌ ÇൿÀ» ½ÃÇèÇß´Ù.

¼ýÀÚ 1 - ³ª´Â ³ª°¡ ¿øÇÑ Ã¼À縦 °¡Áø ³ªÀÇ ¸Þ½ÃÁö¿¡¼­ ŸÀÚ¸¦ ÃÆ´Ù:
InterF1

¼ýÀÚ 2 - ³ª´Â Àû¿ëÇÑ´Ù ´©¸£°í, Æ÷¸ËÀ¸·Î ¸¸µëÀº ¹Ù²î¾ú´Ù:
InterF2

³ª´Â Á¤´çÇÑ ´©¸£±â OK°¡ ÀÖ´ø °æ¿ì¿¡ ³ª´Â º¯È­¸¦ ¾Ê¤¤°¡ °ÍÀÔ´Ï´Ù - ¾î·µç ¸ÂÀº Á¶±Ý ±«·ÓÈ÷´Â Àΰ¡?

 

ÇØ°áÃ¥ ¶Ç´Â Workaround:

³ª¿¡ ÀÇÇÏ¿©·Î ¿À¸¥ ÇØ°áÃ¥Àº ³ëÆ®ÆÐµå¸¦ »ç¿ëÇÏ¿© Á¤Ã¥ ÆÄÀÏÀ» Á÷Á¢ÀûÀ¸·Î ¶Ç´Â ¼öµ¿À¸·Î º¯°æÇϱâ À§ÇÑ °ÍÀÌ´Ù. ÆÄÀÏÀº ¿©±â¿¡¼­ ã¾Æ³½´Ù:

"\ \ DOMAIN.local \ SYSVOL \ DOMAIN.local \ Á¤Ã¥ \ {GPO-GUID} \ ±â°è \ ¸¶ÀÌÅ©·Î¼ÒÇÁÆ® \ Windows NT \ SecEdit \ GptTmpl.inf"

Àú ÆÄÀÏ ¾È¿¡ ¿ì¸®´Â "ºÒ·Á ´Þ¶ó°í ÇÑ´Ù °ü·ÃµÈ ±âÀÔ °¡Ä¡¸¦LegalNoticeText ":

±â°è \ ¼ÒÇÁÆ®¿þ¾î \ ¸¶ÀÌÅ©·Î¼ÒÇÁÆ® \ â \ CurrentVersion \ Á¤Ã¥ \ ü°è \ LegalNoticeText=7, ³ª´Â À̰ÍÀÌ ¾ÆÁÖ ´Ü´ÜÇØ¾ß ÇÏ´ÂÁö ¿Ö ¸ð¸£´Â°¡? Jump next line please¡¦," ",Let¡¯s do a comma"," and continue the line¡¦,Line number 4 is ready"," but let¡¯s jump line 5 & 6 now¡¦," "," ",Line 7 finishes up this story!

Notice the " " (<quote><space><quote>) sequences, which are the same as empty lines.

This is the relevant line from a working GptTempl.inf file (the correct syntax written manually), and it actually works great:

Figure 3 - Pre-logon message on a Windows Server 2003 SP1 Domain Controller: 
InteractiveLogonMsg

Figure 4 - The above inserted GptTmpl.inf line also works for Windows XP SP2 in the same domain:
InteractiveLogonMsgXP

So, this proves that the INI file can actually be correctly formatted so clients (tested w/WS2003 SP1 and XP SP2 in a domain) can show the message perfectly. Please notice that the behavior is similar with local policies, but my testing has been focused on domain environments so far.

If you try to modify the working policy setting using GPEDIT again - after changing just a tiny bit (or just hitting OK to an existing setting) within the GPO the formatting/syntax is ruined again unfortunately (when GPO is saved by GPEDIT)! Look here what came out of it when I tested it:

MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeText=7,I don¡¯t know why this should be so hard? Jump next line please¡¦,Let¡¯s do a comma"," and continue the line¡¦,Line number 4 is ready"," but let¡¯s jump line 5 & 6 now¡¦,Line 7 finishes up this story!

Notice the " " (<quote><space><quote>) sequences are gone! This gives a wrong result (no empty lines) when clients get the pre-logon message.

Figure 5 - The formatting is lost (or wrong) when GPEDIT does the job:
InterF5

 

Please notice, if you¡¯re testing this you will have to define an additional policy setting for it to work, namely the "Interactive logon: Message title for users attempting to log on" setting.

Figure 6 - The title must be set for pre-logon message to appear
InterF6

 

Conclusion

So, my conclusion is that (existing version of) GPEDIT doesn¡¯t modify the GptTmpl.inf file properly (or the registry for local policies for that matter) - for this particular value at least¡¦ My best guess is that it doesn¡¯t handle the quotes (") correctly, but I can¡¯t be 100% sure. A bug report has been made for Microsoft - so hopefully it will be fixed before the final release of Windows Server 2008 and the Remote Server Administration Tools (RSAT).

However, as mentioned you can make it work with a workaround like this: Just perform the GptTmpl.inf (below SYSVOL) editing manually, make a backup of the file when it¡¯s perfect - and never touch that GPO with GPEDIT again¡¦ Until Microsoft releases an updated version of GPEDIT anyway.

 

Related KB articles out there:
KB 330618
KB 238149
Technet article

 

.

Popularity: 10%


Written by Jakob H. Heidelberg. Read more great feeds at is source WEBSITE
no comments.
Read more articles on gpedit and sysvol and otherSoftware and RSAT and gpedit.msc and group policies and Group Policy and Windows XP and Security and Microsoft and Windows Server 2008 and Windows Server 2003 and Windows Vista.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .