2013年9月2日 星期一

Win7 試用延期

Win7 試用延期

第一次 安裝完 30天後 slmgr -rearm  (可以三次90天)

接下來改機碼 八次+rearm  (240天)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

SkipRearm 設定成1

重開機後就可以再次slmgr -rearm (可以操作八次)

累加可以試用360天

2013年8月16日 星期五

AD 故障排除筆記



當要打開群組原則卻發現跳出下面的訊息

無法開啟 [群組原則] 物件。您可能沒有足夠的權限。
系統找不到指定的路徑。

常見於AD的SYSVOL中群組原則的目錄損毀或遺失

解決方法:
        從備份還原或是手動把目錄建回來
目錄
%SystemRoot%\Sysvol\Sysvol\DomainName
%SystemRoot%\Sysvol\Sysvol\DomainName\Policies
%Systemroot%\sysvol\sysvol\domainname\policies\{guid}
%SystemRoot%\Sysvol\Sysvol\DomainName\Policies\{GUID}\Machine
%SystemRoot%\Sysvol\Sysvol\DomainName\Policies\{GUID}\User

\\AD server\SYSVOL\DomainName\Policies   <--- p="">
目錄名稱必須符合GUID格式前後加上大括號也就是 {GUID}
GUID可以在AD 使用者與電腦 管理工具中 打開進階檢視
在System下的Policies目錄下獲得

另一種解法
Windows 2000 : Windows 2000 Default Group Policy Restore Tool
Windows 2003/2008: 內建的 DCGPOFix

Tools:
Ultrasound - Monitoring and Troubleshooting Tool for File Replication Service (FRS)
reference:
http://www.microsoft.com/taiwan/technet/columns/profwin/38-winserver.mspx
http://blogs.technet.com/b/grouppolicy/archive/2008/10/16/restoring-default-domain-policies-to-their-defaults.aspx

2013年7月3日 星期三

汽車保單紀錄

本篇打算用來記錄每年的保險額度及保額。

2012/10 續保

2013年6月10日 星期一

網域時間同步設定

先查詢PDC 位於哪台Server
netdom query fsmo

1.登入PDC角色所在的網域控制站

2.輸入下列命令 (使用國家時間與頻率標準實驗室時間伺服器)
W32tm /config /manualpeerlist:time.stdtime.gov.tw /syncfromflags:manual

3.更新windows 時間服務設定
W32tm /config /update
Net stop w32time Net start w32time


dcdiag 查看是否有其他錯誤訊息


2013年5月8日 星期三

如何透過群組原則設定校時伺服器

Instructions

    • 1
      Click the Windows "Start" button and select "Programs." Click "Administrative Tools" and then click "Group Policy Editor." This opens your GPO object console editor.
    • 2
      Click "Computer Configuration" on the left panel to expand a list of options. Click "Administrative Templates," "System," then "Windows Time Service."
    • 3
      Click the "Time Providers" key in the central pane. This is where you set the NTP group policy for your network users.
    • 4
      Double-click "Windows NTP Server." Enter your central server name you want to use as the NTP server. This is typically the domain controller for the network. Click "OK" to save the changes.
    • 5
      Close the GPO editor. It may take several minutes for the group policy to propagate on the network and your users' computers to synchronize with the central server clock.


Reference: How to Set a NTP Server Group Policy | eHow.com http://www.ehow.com/how_6764132_set-ntp-server-group-policy.html#ixzz2SgjDyIkV

oracle trace file [.trm] [.trc]

oracle version:11g

TRM Trace Files Getting Generated in 11g Database (Doc ID 750982.1)
Excessive Number Of Arc Trace Files Generated In 11g (Doc ID 754289.1)


Trace file in 11g belongs to ADR (Automatic Diagnostic Repository) you can manage it by using its Command Interpreter ADRCI:

http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/adrci.htm#SUTIL700

It's possible to set the Purging Policy with the SET CONTROL statement:

http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/adrci.htm#BGBEGAEB

You can purge Trace Files by using the PURGE statement:

http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/adrci.htm#SUTIL1509

In addition, to remove Traces Files in the "CDMP_" directories, you may use the Type UTSCDMP as follow. For instance, to remove Trace files older than 1 hour in "CDMP_" directories:
adrci> purge -age 60 -type UTSCDMP


reference: https://forums.oracle.com/forums/thread.jspa?threadID=943615