Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

2012-02-21

Configuring Windows 2008 R2 as an NTP Server

試了半天,windows 2008 r2的w32time可以當作ntp server提供ntp服務給d-link等網路設備...
可是偏偏和cisco不相容,原因是root dispersion....
所以建議cisco ntp還是設定internet上的ntp server...
或是用unix server
或去找其他windows上的ntp程式...
http://www.meinberg.de/english/sw/ntp.htm
也許是個好選擇...

我是採用internet上的ntp server...懶得再安裝ntp程式了...
底下是測試過還算正確的設法


In order to configure an WIndows 2008 R2 Server you will need to make a number of changes to the registry. This tutorial will show you both the settings for configuring the NTP Server in addition to the client settings.
NOTES

It is worth noting that this example is based on the below,
A Windows 2008 R2 Server acting as the NTP Server
A Windows 2008 R2 Server acting as the NTP client for which it will source its time from the above server.
This configuration is not based upon using a Windows Domain.
NTP SERVER

SERVER SETTINGS

1. Enable the NTP Server
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer]"
"Enabled"=dword:00000001
CLIENT SETTINGS

1. Enable NTP Client and set polling interval.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]"
"Enabled"=dword:00000001
"SpecialPollInterval"="300"
2. Configure the NTP Time Source, period and frequency
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="[NTP SERVER IP],0x1"
"Type"="NTP"
"Period"="freq"  /* 找不到 */
NTP CLIENT

CLIENT SETTINGS

1. Enable NTP Client and set polling interval.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]"
"Enabled"=dword:00000001
"SpecialPollInterval"="300"
2. Configure the NTP Time Source, period and frequency
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="[NTP SERVER IP],0x1"
"Type"="NTP"
"Period"="freq"

ADDITIONAL

STARTUP

By default the w32tm service will not automatically start if your Windows machine is not on a domain. To ensure that the service starts automatically run the following command :
sc triggerinfo w32time start/networkon stop/networkoff


TROUBLESHOOTING

To confirm that your clients are correctly peering with your time source run the following command.
w32tm /query /peers
w32tm /query /status

cisco debug

sh ntp asso
sh ntp asso detail
sh ntp status

2011-03-16

KMS Client Setup key

http://technet.microsoft.com/en-us/library/ff793421.aspx

使用零售版retail或MSDN下載的光碟安裝,必須key入key才能使用KMS啟用。
Windows 7 Professional
FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4

2010-11-11

解決IE永遠用同一視窗開啟新連結

This setting controls whether Internet shortcuts are opened in an existing available Internet Explorer window or whether a new window should be spawned.

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
Value Name: AllowWindowReuse
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = new window, 1 = existing window)

設為0

2009-07-16

ffdshow thumbnails rundll32 crash

vista 底下,使用k-lite codepack 5.0
不知道為什麼看某個錄製的mpq時,一直會有rundll32 dep crash的問題...
原來是因為檔案總管自動建立thumbnails的問題。

設定了資料夾的檢視方式,使用「 Always show icons, never thumbnails 」就正常了。
不過缺點是jpg檔,也不會有thumbnails,要用預覽,或是用xnview等軟體。

或是也可以用另一種方法,讓某些副檔名的檔案不要產生thumbnails。

You can disable auto creation of thumbnails in Windows Explorer for videos files pr extention.
Just delete the following registry key:

HKEY_CLASSES_ROOT\[Extention]\ShellEx\ BB2E617C-0920-11d1-9A0B-00C04FC2D6C1

Replace [Extention] with the extention of your choice like:

.avi
.vob
.mpg
.mov
.vmw

If you at one point want it back again, just create the key again and reboot. And Vista will again happily suck all the power out of your computer, when opening a folder with lots of video files...

2009-04-29

XP桌面圖示如何才能變成透明底色?

右擊桌面空白處,依次單擊“屬性/桌面/自定義桌面/web”選項,將“網頁”欄中的“當前主頁”以及“http//......”等所有各項前面的勾全部去掉(“http//……”為從Internet添加網頁或圖片的位址,一般不需要,可將它們全部刪除),並將下面“鎖定桌面專案”前面的勾也去掉,單擊確定完成設置,就又能看到可愛的桌面圖示了。

2008-11-21

excel無法直接點選開啟

q:
有誰知道這樣的問題呢?EXCEL的檔案無法直接點選開啟,必須要先進入EXCEL以後
再用開啟舊檔的方式開啟,這樣恩的好麻煩,有什麼方式可以解決呢?我用的是OFFUICE97
SR-2的版本,WORD的檔案開啟舊沒有問題,就是EXCEL這樣,重新安裝OFFICE後情況似乎依舊,有沒有人知道如何解決這個問題呢?先謝謝啦。

ans:
您所寫的錯誤訊息是當時所顯示的全文內容嗎?
因為如果如您之前所說,在*.xls上快按二下無法開啟,
但利用excel中的開啟舊檔就可以的話,
您可以試試下面的方法
1.按〔工具〕→〔選項〕
2.在〔選項〕對話框中,選〔一般〕頁
3.在〔設定〕中的〔略過其他應用程式〕取消打勾,按〔確定〕
4.關閉Excel,後再至*.xls檔案按二下,應該就可以正常開啟了!
供您參考!



感謝回覆,沒有把問題說清楚,開啟excel檔案可以執行excel本身的程式,但卻會出現開啟的檔案或是路徑不存在﹝其實這個檔案或是路徑確實存在﹞,使用的元件已經損壞.....
就這樣檔案都無法開啟,這些檔案確定都是正常的,拿到別台電腦也可以正常開啟,真的是很奇怪。

excel 2007也有類似的問題
請點選excel選項\進階
向下找到「一般」

disable(clear) 忽略其他使用動態資料交換(DEE)的程式。

試過修復安裝,無效。



2008-08-15

裝置管理員並未顯示未連接到 Windows XP 電腦的裝置

裝置管理員並未顯示未連接到 Windows XP 電腦的裝置

檢視此文章適用的產品。
文章編號 : 315539
上次校閱 : 2005年11月2日
版次 : 1.1
徵狀
當 您按一下 [檢視] 功能表中的 [顯示隱藏裝置] 時,「裝置管理員」只會顯示非隨插即用的裝置、驅動程式和印表機。即使按一下 [顯示隱藏裝置],您已安裝但未連線至電腦的裝置 (如通用序列匯流排 [USB] 裝置或「隱藏連線」裝置) 也不會顯示在「裝置管理員」中。
回此頁最上方

其他可行方案
如果要解決這個問題,並在您按一下 [顯示隱藏裝置] 時顯示相關裝置: 1. 按一下 [開始],依序指向 [程式集] 及 [附屬應用程式],再按一下 [命令提示字元]。
2. 在命令提示字元中輸入下列命令,然後按下 ENTER:
set devmgr_show_nonpresent_devices=1
3. 在命令提示字元中輸入下列命令,然後按下 ENTER (其中 %SystemRoot% 為 Windows XP 安裝所在的資料夾):
cd\%SystemRoot%\system32
4. 在命令提示字元中輸入下列命令,然後按下 ENTER:
start devmgmt.msc
5. 疑難排解「裝置管理員」中的裝置和驅動程式。

注意:您必須先在「裝置管理員」中,按一下 [檢視] 功能表上的 [顯示隱藏裝置],才能夠查看未連接至電腦的裝置。
6. 完成疑難排解後,關閉「裝置管理員」。
7. 在命令提示字元中輸入 exit。

請注意,關閉命令提示字元視窗時,Window 會清除您在步驟 2 中所設定的 devmgr_show_nonpresent_devices=1 變數,避免隱藏連線的裝置在您按一下 [顯示隱藏裝置] 時顯現。
如果您是開發人員或進階使用者,而且想要檢視未連接至您電腦的裝置,可全域設置下列環境變數: 1. 用滑鼠右鍵按一下 [我的電腦]。
2. 按一下 [內容]。
3. 按一下 [進階] 索引標籤。
4. 按一下 [環境變數] 索引標籤。
5. 在 [系統變數] 方塊中設定該變數。
注意:這個方法僅適用於疑難排解或程式開發目的,或是用以防止使用者意外解除安裝了未連接至電腦的必要裝置 (如未連接筆記型電腦的 USB 裝置或銜接站)。
回此頁最上方

狀況說明
這是原本設計的作法。

2008-05-16

Restore the Show Desktop shortcut on Quick Launch Bar

TIP: Restore the Show Desktop shortcut on Quick Launch Bar

Copy and paste the following lines into a Notepad file.

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Save the file to your Desktop as Show Desktop.scf. Next left click
on the file you just created and drag it down to the Quick Launch bar
and release.

Change Windows XP CD key

如因特殊情況需更改 Windows XP 的序列號可按下程序執行
1. 在〔開始〕→〔執行〕→〔Regedit〕→〔HKEY_LOCAL_MACHINE〕→〔SOFTWARE〕
→〔Microsoft〕→〔Windows NT〕→〔CurrentVersion〕
在〔WPAEvents〕內將〔OOBETimer〕的頭兩個數值〔CA〕刪除
2. 在〔開始〕→〔執行〕→〔oobe/msoobe /a〕進入〔啟動畫面〕→選擇第二項〔電話啟動〕
在進入下一個視窗,選擇〔change product key〕來修改序列號及輸入新的序列號,
完成後點擊〔update〕進行更新及選〔remind me later〕
3. 重新啟動電腦後 在〔開始〕→〔執行〕→〔oobe/msoobe /a〕
進入〔啟動畫面〕時應該顯示已經啟動

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q328874

1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. In the left pane, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current
Version\WPAEvents
4. In the right pane, right-click OOBETimer, and then click Modify.
5. Change at least one digit of this value to deactivate Windows.
6. Click Start, and then click Run.
7. In the Open box, type the following command, and then click OK.
%systemroot%\system32\oobe\msoobe.exe /a
8. Click Yes, I want to telephone a customer service representative to
activate Windows, and then click Next.
9. Click Change Product key.
10. Type the new product key in the New key boxes, and then click
Update.

If you are returned to the previous window, click Remind me later, and
then restart the computer.
11. Repeat steps 6 and 7 to verify that Windows is activated. You
receive the following message:
Windows is already activated. Click OK to exit.
12. Click OK.

2023 灌籃高手 SLAM Dunk

 2023 哩哩摳摳 昨天是難得的颱風假。 去看了二輪的灌籃高手。 電影院一堆的小朋友阿。 以下有小暴雷。 雖然我不算是非常的迷灌籃高手,但是還是很喜歡這部作品。 井上老師的畫風我也非常喜歡。 整部片是以良田的角度來看的。 以前我並不是很熟習良田這個角色,但是看到良田能重新站起來...