• How to enable GPO logging on windows 7 /2008 r2 ?

     

    To enable logging in the Gpsvc.log file, follow these steps.

    1. Click Start , click Run , type regedit , and then click OK .

    2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion

    3. On the Edit menu, point to New , and then click Key .

    4. Type Diagnostics , and then press ENTER.

    5. Right-click the Diagnostics subkey, point to New , and then click DWORD Value .

    6. Type GPSvcDebugLevel , and then press ENTER.

    7. Right-click GPSvcDebugLevel , and then click Modify .

    8. In the Value data box, type 0x30002 , and then click OK .

    9. Exit Registry Editor.

    10. At a command prompt, type the following command, and then press ENTER:

    gpupdate /force

    11. View the Gpsvc.log file in the following folder:

    %windir%\debug\usermode

  • Internet Explorer/disable the file download pop-up window

    Symptom

    ========

    Consider the scenario of a simple corporate intranet Web site that includes a list of executable links on a friendly Web page. The links are intended to be downloaded and run immediately.

    image

    Result

    =====

    Even if the executable files have been signed and the signer is trusted by the user, Internet Explorer will still display the File Download dialog box.

    Assessment

    ==========

    Internet Explorer contains a predefined, hard-coded list of file extensions that it inherently distrusts. These extensions correspond to generic executables and other kinds of files that have the capability to harm the user's machine without the proper security safeguards. The File Download dialog box cannot be prevented for any files of these types. The Always ask before opening this type of file option will be grayed out on the dialog box and you will not be able to select it.

    Following is the list of the file extensions for these file types.

    ade .csh .lnk .mda .pif .vb

    .adp .exe .mad .mdb .prf .vbe

    .app .fxp .maf .mde .prg .vbs

    .asp .hlp .mag .mdt .pst .vsd

    .bas .hta .mam .mdw .reg .vsmacros

    .bat .inf .maq .mdz .scf .vss

    .cer .ins .mar .msc .scr .vst

    .chm .isp .mas .msi .sct .vsw

    .cmd .its .mat .msp .shb .ws

    .com .js .mau .mst .shs .wsc

    .cpl .jse .mav .ops .tmp .wsf

    .crt .ksh .maw .pcd .url .wsh

    Reference KB:
    Executing files by hyperlink and the File Download dialog box in Internet Explorer

    http://support.microsoft.com/kb/232077/en-us

  • 當IE瀏覽到某些網頁需要執行javascript時會發生錯誤

    假設您的電腦連到有些網頁,左下角出現 ! 的警告,該網頁可以需要執行java script,但您的電腦無法正常執行,請嘗試以下做法,看是否能解決問題。

    一、將以下的文字貼在notepad上,存成一個.bat的檔案。

    @echo off
    ECHO IE REPAIR

    regsvr32 /s /i browseui.dll
    regsvr32 /s corpol.dll
    regsvr32 /s dxtmsft.dll
    regsvr32 /s dxtrans.dll
    regsvr32 /s "%ProgramFiles%\internet explorer\hmmapi.dll"
    regsvr32 /s ieaksie.dll
    regsvr32 /s ieapfltr.dll
    regsvr32 /s iedkcs32.dll
    regsvr32 /s "%ProgramFiles%\internet explorer\iedvtool.dll"
    regsvr32 /s iepeers.dll
    regsvr32 /s "%ProgramFiles%\internet explorer\ieproxy.dll"
    regsvr32 /s /i /n inetcpl.cpl
    regsvr32 /s jscript.dll
    regsvr32 /s licmgr10.dll
    regsvr32 /s msdbg2.dll
    regsvr32 /s mshtmled.dll
    regsvr32 /s msident.dll
    regsvr32 /s mstime.dll
    regsvr32 /s "%ProgramFiles%\internet explorer\pdm.dll"
    regsvr32 /s tdc.ocx
    regsvr32 /s /i urlmon.dll
    regsvr32 /s vbscript.dll
    regsvr32 /s "%CommonProgramFiles%\microsoft shared\vgx\vgx.dll"
    regsvr32 /s /i /n wininet.dll
    REM ******************************
    echo Check
    regsvr32 /s extmgr.dll
    regsvr32 /s mscoree.dll
    regsvr32 /s oleacc.dll
    regsvr32 /s ole32.dll
    regsvr32 /s actxprxy.dll
    regsvr32 /s asctrls.ocx
    regsvr32 /s cdfview.dll
    regsvr32 /s comcat.dll
    regsvr32 /s /i /n comctl32.dll
    regsvr32 /s cryptdlg.dll
    regsvr32 /s /i /n digest.dll
    regsvr32 /s dispex.dll
    regsvr32 /s hlink.dll
    regsvr32 /s mlang.dll
    regsvr32 /s mobsync.dll
    regsvr32 /s /i msieftp.dll
    regsvr32 /s msr2c.dll
    regsvr32 /s msxml.dll
    regsvr32 /s oleaut32.dll
    regsvr32 /s proctexe.ocx
    regsvr32 /s /i scrobj.dll
    regsvr32 /s /i shdocvw.dll
    regsvr32 /s sendmail.dll
    regsvr32 /s /i ieframe.dll
    echo IE8 REPAIRED
    echo.

    二、執行以上的bat檔。

    三、如果問題仍存在,請檢查以下的機碼,是否和正常的機器有不一樣,如果有的話,請依照正常的機器來修正。(有些防毒軟體會修改以下的機碼)

    HKEY_CLASSES_ROOT\CLSID\{3F4DACA4-160D-11D2-A8E9-00104B365C9F}

    HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\CLSID\{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\CLSID\{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\CLSID\{f414c262-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\CLSID\{cc5bbec3-db4a-4bed-828d-08d78ee3e1ed}

    四、如果您的OS是64 bit的作業系統,也請同時檢查以下的機碼。

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{3F4DACA4-160D-11D2-A8E9-00104B365C9F}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{f414c262-6ac0-11cf-b6d1-00aa00bbbb58}

    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{cc5bbec3-db4a-4bed-828d-08d78ee3e1ed}

     

  • SCOM 2007,The scheduled SQL reports don't contain the graph in the pdf file

    Problem
    ========

    The scheduled SQL reports don't contain the graph in the pdf file

    Level: Error
    EventID: 108 Source:
    Report Server Windows Service
    Message: Report Server Windows Service (instancename) cannot load the EnterpriseManagementChartControl extension.

    Solution
    ===========

    To resolve this problem, add the following information to the ReportingServicesService.exe.config file in the ReportServer\bin directory:

    <dependentAssembly>
    <assemblyIdentity name="Microsoft.ReportingServices.ProcessingCore" publicKeyToken="89845dcd8080cc91" culture="neutral" />
    <bindingRedirect oldVersion="9.0.242.0" newVersion="10.0.0.0" />
    </dependentAssembly>
    <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
    <assemblyIdentity name="Microsoft.ReportingServices.ProcessingCore" publicKeyToken="89845dcd8080cc91" culture="neutral" />
    <bindingRedirect oldVersion="9.0.242.0" newVersion="10.0.0.0" />
    </dependentAssembly>

  • 如何在Windows Server 2008 R2啟用Aero特效

    1.安裝Desktop Experience Feature後,重啟伺服器.
    2.登入伺服器,並將Themes服務改為自動啟動類型後再重啟伺服器.
    3.就可以使用Aero特效.