달력

1

« 2025/1 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

그룹 정책을 통한 UAC 메시지 제거 방법

 

1.     도메인 컨트롤러에서 그룹 정책 편집기 실행

2.     기본 도메인 정책을 수정하거나 별도의 그룹 정책 생성 후 수정 -> 편집

3.     그룹 정책 편집기 창에서 다음 위치까지 이동
컴퓨터 구성
          ->
정책
                -> Windows
설정
                                ->
보안 설정
                                           ->
로컬 정책
                                                      ->
보안 옵션

4.     오른쪽 목록 중에서 다음 세 가지 옵션 설정 후 적용

-       영문판의 경우
User Account Control: Detect application installations and prompt for elevation -> Disabled
User Account Control: Behavior of the elevation prompt for administrator users -> No prompt
User Account Control: Run all administrators in Admin Approval Mode -> Disabled

-       한글판의 경우
사용자 계정 컨트롤: 응용 프로그램 설치할 때 권한 상승 확인 -> 사용 안 함
사용자 계정 컨트롤: 관리자 계정일 때 관리 승인 모드에서 권한 상승 확인 방법 -> 권한 상승 전에 확인 안 함
사용자 계정 컨트롤: 관리자 계정의 경우 관리 승인 모드에서 모든 어플리케이션 실행 -> 사용 안 함

:
Posted by 커널64
2009. 8. 3. 13:15

Sysprep 명령 Etc.2009. 8. 3. 13:15

SCVMM의 라이브러리에 저장하거나 부모 디스크로 사용할 VHD 파일의 Sysprep 시
Sysprep /quiet /generalize /oobe /shutdown

Sysprep 명령줄 구문
http://technet.microsoft.com/ko-kr/library/cc721973(WS.10).aspx
:
Posted by 커널64
파라미터로 텍스트 파일의 전체 경로
Property[@Name='Message'] 를 이용해 문자열 검색

Alert Description
$Data/Context/Property[@Name='Message']$

-----------------------------------------------------------------------------------------------------

Dim oAPI, oBag, strMessage
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()

Set oArgs = WScript.Arguments
ParamCount = oArgs.Count

If ParamCount < 1 Then
Call oAPI.LogScriptEvent("StringCheck.vbs", 5009, 0, "Script aborted. Not enough parameters provided.")
WScript.Quit -1
End If

strMessage=getlastline(oArgs(0))

Call oBag.AddValue("Message", strMessage)
Call oAPI.Return(oBag)

function getlastline (ascfile)
set fs = createobject("scripting.filesystemobject")
set file = fs.GetFile(ascfile)
set stream = file.OpenAsTextStream
stream.skip file.size
line = stream.line
stream.close 
set stream = file.OpenAsTextStream
for i=1 to line-2
stream.skipline
next
getlastline = stream.readline
if not stream.atendofstream then
getlastline = stream.readline
end if
end function
:
Posted by 커널64

[증상]
기본 서비스 모니터를 이용해 서비스 모니터를 생성하고 '서비스 시작 유형이 자동인 경우에만 경고합니다.'를 False로 설정해도 경고가 뜨지 않는다.

[처리 방법]
해당 관리팩을 Export해 메모장으로 연 후 <CheckStartupType>true</CheckStartupType>을 추가한다.

<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>서비스 이름</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>

:
Posted by 커널64

Rule > New > Probe based > Script(performance)

Object, Counter, Instance 적당한 값
Value: $Data/Property[@Name='% Used Memory']$

--------------------------------------------------------------------------------

UsedMemoryPercent.vbs

Dim oAPI, oBag
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()

dim hostName,strComputer
dim tMemoryKB,FreeMemoryKB,MemoryUsage

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
tMemoryKB = 0
Set colItems = objWMIService.ExecQuery("select * from Win32_OperatingSystem")

For Each objItem in colItems
tMemoryKB = objItem.TotalVisibleMemorySize
next

Set colItems = objWMIService.ExecQuery("select FreePhysicalMemory from Win32_OperatingSystem")
For Each objItem in colItems
FreeMemoryKB= objItem.FreePhysicalMemory
next

MemoryUsage = ((tMemoryKB - FreeMemoryKB)/tMemoryKB) * 100

Call oBag.AddValue("% Used Memory",MemoryUsage)
Call oAPI.Return(oBag)

:
Posted by 커널64

Monitor -> New -> Scripting -> Timed Script Two State Monitor

Parameters
[ProcessName.exe] [WorkingSetLimit(MB)]

State Expression
For Unhealthy Expression Property[@Name='State'] Equals Good
For Healthy Expresion Property[@Name='State'] Equals Bad

Alert Description
$Data/Context/Property[@Name='Message']$

----------------------------------------------------------------------------------------------

 'Parameter [ProcessName.exe] [WorkingSetLimit(MB)]

    Dim oAPI, oBag
    Set oAPI = CreateObject("MOM.ScriptAPI")
    Set oBag = oAPI.CreatePropertyBag()

    Set oArgs  = WScript.Arguments
    strTaskName = oArgs(0)
    strWorkingSet = oArgs(1)

    Set oArgs = nothing
    Set shellobj = WScript.CreateObject("WScript.Shell")
    State = "Good"

    Const wbemFlagReturnImmediately = &h10
    Const wbemFlagForwardOnly = &h20

    strComputer = "."

    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
    Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Process where name ='" & strTaskName & "'", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)

    For Each objItem In colItems
    if clng(objItem.WorkingSetSize/(1024*1024)) > clng(strWorkingSet) then


    strMsg = objItem.Name & "(이)가 WorkingSet 임계치(" & strWorkingSet & "MB)를 초과합니다. " & objItem.Name & "의 현재 WorkingSet은 " & clng(objItem.WorkingSetSize/(1024*1024)) & "MB 입니다."
    State = "Bad"
    end if
    Next

    Set shellobj = nothing

    Call oBag.AddValue("State",State)
    Call oBag.AddValue("Message",strMsg)
    Call oAPI.Return(oBag)

:
Posted by 커널64
2009. 7. 13. 18:14

Windows Server 2008 버전별 지원 사항 Etc.2009. 7. 13. 18:14

:
Posted by 커널64
2009. 7. 13. 14:30

NDR 언어 변경 (Exchange 2007) Collaboration2009. 7. 13. 14:30

Set-Mailbox -Identity <MailboxIdParameter> -Languages  <languagecode>
예)Set-Mailbox -Identity administrator -Languages  ko-kr
 
Languages 매개 변수는 기본 설정 순서대로 이 사서함의 언어 기본 설정을 지정합니다.
해당 언어가 지원되는 경우 여러 Exchange 구성 요소에서 기본 설정 언어로 사서함 사용자에게 정보를 표시합니다.
이러한 구성 요소 중에는 할당량 메시지, NDR(배달 실패 보고서), Microsoft Outlook Web Access 사용자 인터페이스 및 UM(통합 메시징) 음성 안내가 포함됩니다.

참고 사이트 (MS Technet)
http://technet.microsoft.com/ko-kr/library/bb123981.aspx


:
Posted by 커널64

Exchange 관리 셸을 사용하여 Outlook Web Access의 로그온 및 오류 언어 설정을 구성하려면 다음을 수행합니다.
Set-OwaVirtualDirectory -identity "Owa (Default Web Site)" -LogonAndErrorLanguage <language code>

Exchange 관리 셸을 사용하여 Outlook Web Access 가상 디렉터리의 기본 클라이언트 언어 설정을 구성하려면 다음을 수행합니다.
Set-OwaVirtualDirectory -identity "Owa (Default Web Site)" -DefaultClientLangugage <language code>

Exchange 관리 셸을 사용하여 개별 사서함의 클라이언트 언어 설정을 구성하려면 다음을 수행합니다.
Set-Mailbox –identity <mailbox identity> -languages <language code>

:
Posted by 커널64

I see a lot of memory related Exchange Server 2007 questions in the Exchange 2007 forum on the MSExchange.org boards, so this month my plan was to talk about what has changed in regards to memory utilization in Exchange Server 2007 compared to previous versions of Exchange Server. As most of you remember, because Exchange Server 2003 was based on 32-bit architecture, this version of Exchange Server was limited to using a maximum of 4GB of memory. Because Exchange Server 2007 is based on 64-bit architecture, this limitation is no longer there. In fact Exchange Server 2007 has much better memory utilization than Exchange Server 2003 had, and is capable of using 32 GB of memory and more. Personally, I have deployed Exchange 2007 Mailbox servers with 16 GB of memory installed, and I have seen Store.exe processes grow as large as to approximately 14 GB in size!
These memory utilization changes are excellent for large enterprise IT organizations, but several of the smaller organizations with a relatively small amount of mailbox-enabled users (between 10-30) and an Exchange 2007 Mailbox server with let us say 4 GB of memory often seem to experience problems with excessive memory utilization. Several Exchange administrators report that their Exchange 2007 Mailbox server uses more memory than the amount of physical memory installed in the server. This means that the server can become sluggish and unresponsive.
With Exchange Server 2003, the store process was bound to a certain memory cache limit. The upper bounds of this limit were typically set at around 900MB. With Exchange Server 2007 which uses 64-bit architecture, the limit on database cache size is no longer present. Currently, the default minimum cache size for Exchange 2007 is 512MB (for machines with at least 2GB RAM), and there is no maximum value set, which means that ESE (store.exe) will grow the cache to consume almost all available RAM on the server if there is no other memory pressure on the system. A larger database cache size typically results in greatly reduced disk I/O as reading information from memory is much faster than reading information from disk. If memory pressure occurs, that is other applications request/require memory, ESE will appropriately shrink the size of the database cache automatically.
Okay, I hear you say, that was a good explanation, but unfortunately this is not the behavior I experience in my environment. So, what can I do if my Exchange 2007 server is sluggish and unresponsive? Although generally not recommended by Microsoft, there is one thing you can do. You can set a limit on the ESE database memory cache. This is done by following the below steps:

Warning!
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your Operating System. Neither MSExchange.org nor Microsoft can guarantee that these problems can be solved. Modify the registry at your own risk!


· Start ADSI Edit by clicking Start > Run and typing ADSIEDIT.MSC
· Open the following object: Configuration > Services > Microsoft Exchange > Exchange organization > AdministrativeGroups > Your administrative group > Servers > Server name > Information Store
· Right-click the Information Store, and then click Properties.
· Under the list of Attributes, scroll down and select msExchESEParamCacheSizeMax

사용자 삽입 이미지


Click the Edit button, then type the number of 8 kilobyte (KB) pages that you want to set the maximum cache size to.
For example, 1GB cache equates to 1048576 (1024 * 1024). Divide the cache that you want to set by 8kb to determine the value to enter. In this case, 1048576 divided by 8 is 131072.
If you wanted to set the cache size to 16GB, the value would be 2097152 (16777216 divided by 8).

Note
The msExchESEParamCacheSizeMax parameter controls the ESE buffer size. Its value is expressed as a page count, and must be set to an exact multiple of 8192 for maximum efficiency. If this value is not met, the cache size is rounded up to the next 32-MB boundary when virtual memory is allocated. If this value is incorrectly set, memory may be wasted.

:
Posted by 커널64