∮Ω奧米加空間∮»技術文件區»【密技】Q&A 問答集
| 作者 |
主題 分頁:[ 1 2 3 4 5 6 7 8 9 ] |
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 71 篇)
資料來源:TechNet Blogs
為何Terminal Service 啟動,但系統沒看到3389 port 有在傾聽?
您可能會遇到 Terminal Service 服務正常啟動.但是卻看不到 3389 port 有出現
以下有兩個原因會造成此現象:
1. RDP-Tcp 連線被停止
2. Policy 或是 fDenyTSConnections 機碼被設定
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
機碼是否 fDenyTSConnections 被設定為 "1" 如果是修改為 "0" 即可
您會發現兩個重要的 driver 沒啟動.
rdpwd RDPWD c:\windows\system32\drivers\rdpwd.sys 核心驅動程式 否 手動 停止 確定 略過 否 否
tdtcp TDTCP c:\windows\system32\driversdtcp.sys 核心驅動程式 否 手動 停止 確定 略過 否 否
且netstat -nao |findstr 3389 ,沒看到有任何 3389 port
Action:
檢視終端機服務設定\連線\RDP-Tcp 是否為"啟用連線"
檢視 機碼是否 fDenyTSConnections 被設定為 "1" 如果是修改為 "0" 即可
以上為相關 driver 版本,及機碼設定都正常的狀況下可以採用此方式
如果以上設定都正常.您亦需要進行檢視以下設定:
-Checked the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tdscp
the port is correctly set to 3389
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
the port value is correctly set to 3389
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
- Checked the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root
LEGACY_RDPWD
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_RDPWD\0000\Control
LEGACY_TDTCP
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_TDTCP\0000\Control
Possible action:
1. Start Registry Editor.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermService\Parameters
3. Under this registry subkey, delete the following values:
‧ Certificate
‧ X509 Certificate
‧ X509 Certificate ID
4. restart system
Your mind to my mind,
your thought to my thought |
| 發表時間:2011-11-22 00:34 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 72 篇)
資料來源:神鵰蝦
如何刪除「執行」命令的記錄資訊?
機碼:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
說明:此機碼下的登錄值即對應到「開始」「執行」下的所有命令記錄,將登錄值刪除即可。
Your mind to my mind,
your thought to my thought |
| 發表時間:2012-04-09 16:05 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 73 篇)
資料來源:HELLOSPRINGS
讀取分享資料夾時一直出現"網路提供者都不接受指定的路徑"該如何解決?
系統管理工具→服務→Workstation 啟動
系統管理工具→服務→Server 啟動
系統管理工具→服務→Computer Browser 啟動
系統管理工具→服務→Routing and Remote Access 啟動
如果 Server 這個服務一直起不來可以嘗試開啟 Resultant Set of Policy Provider
本帖由dc最後編輯於2012-05-17 16:54
Your mind to my mind,
your thought to my thought |
| 發表時間:2012-04-26 17:32 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 74 篇)
問:win2008的遠端桌面預設一次只能一個使用者登入該如何處理?
答:gpedit.msc -> 本機電腦原則 -> 電腦設定 -> 系統管理範本 -> Windows元件 -> 遠端桌面服務 -> 遠端桌面工作階段主機 -> 連線
限制連線數目 -> 已啟用 -> 自定數量 -> 確定
限制遠端桌面服務的使用者只能使用一個遠端桌面服務工作階段 -> 已停用 -> 確定
gpedit.msc -> Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections
Limit number of connections -> Enabled -> RD Maximum Connections allowed -> OK
Set rules for remote control of Remote Desktop Services user sessions -> Disabled -> OK
本帖由dc最後編輯於2016-01-26 15:12
Your mind to my mind,
your thought to my thought |
| 發表時間:2012-10-21 21:22 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 75 篇)
問:win2008 防火牆設定好像很複雜?有分程式?也有分 Port?
答:win2008 gui 功能介面比較多,在下面兩個地方
開始 -> 系統管理工具 -> 具有進階安全性的防火牆
這裡有輸出/輸入規則 可以設定 port
開始 -> 控制台 -> 檢查防火牆狀態 ->允許程式或功能通過 Windows 防火牆
這邊是依程式開啟
記得 網域/私人/功用 三個設定是分開來的喔~是分開設定的~也就是說在網域裡設定的,登出網域後就失效喔!
要開啟可以 ping 的功能 使用 netsh firewall set icmpsetting 8
Your mind to my mind,
your thought to my thought |
| 發表時間:2012-10-22 11:37 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 76 篇)
問:我用 windows2012 新增角色功能建立了 wsus 但是一直接收不到電腦是怎麼回事?
答:首先從兩個地方來判斷
1.LOG 看一下有沒有錯誤的地方
C:\WINDOWS\WindowsUpdate.log
2.下載 Client Diagnostics Tool 來檢查是否都 PASS
http://technet.microsoft.com/en-us/windowsserver/bb466192.aspx
再來到 IIS -> 站台 -> WSUS 系統管理 -> 編輯繫結 -> 新增 Port 80 繫結
原始的 http 8530,https 8531 不要更動到
之後到 Client 執行
wuauclt.exe /detectnow
就可以看到剛剛新增的電腦囉~
附上我用的註冊檔
================================
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate]
"WUServer"="http://IP"
"WUStatusServer"="http://IP"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU]
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:00000001
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"DetectionFrequencyEnabled"=dword:00000001
"DetectionFrequency"=dword:00000016
"AutoInstallMinorUpdates"=dword:00000000
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000003
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"UseWUServer"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"AUState"=dword:00000002
================================
Your mind to my mind,
your thought to my thought |
| 發表時間:2012-11-04 05:32 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 77 篇)
問:不知道 IP 的 MASK 該如何計算?
答:可以參考 wiki
https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
IP/CIDR Δ to last IP addr Mask Count of addresses Relative size to other block sizes Restrictions on a/b/c/d (0..255 unless noted)
a.b.c.d/32 +0.0.0.0 255.255.255.255 1 1/256 C
a.b.c.d/31 +0.0.0.1 255.255.255.254 2 1/128 C d = 0 ... (2n) ... 254
a.b.c.d/30 +0.0.0.3 255.255.255.252 4 1/64 C d = 0 ... (4n) ... 252
a.b.c.d/29 +0.0.0.7 255.255.255.248 8 1/32 C d = 0 ... (8n) ... 248
a.b.c.d/28 +0.0.0.15 255.255.255.240 16 1/16 C d = 0 ... (16n) ... 240
a.b.c.d/27 +0.0.0.31 255.255.255.224 32 ⅛ C d = 0 ... (32n) ... 224
a.b.c.d/26 +0.0.0.63 255.255.255.192 64 ¼ C d = 0, 64, 128, 192
a.b.c.d/25 +0.0.0.127 255.255.255.128 128 ½ C d = 0, 128
a.b.c.0/24 +0.0.0.255 255.255.255.000 256 1 C
a.b.c.0/23 +0.0.1.255 255.255.254.000 512 2 C c = 0 ... (2n) ... 254
a.b.c.0/22 +0.0.3.255 255.255.252.000 1,024 4 C c = 0 ... (4n) ... 252
a.b.c.0/21 +0.0.7.255 255.255.248.000 2,048 8 C c = 0 ... (8n) ... 248
a.b.c.0/20 +0.0.15.255 255.255.240.000 4,096 16 C c = 0 ... (16n) ... 240
a.b.c.0/19 +0.0.31.255 255.255.224.000 8,192 32 C c = 0 ... (32n) ... 224
a.b.c.0/18 +0.0.63.255 255.255.192.000 16,384 64 C c = 0, 64, 128, 192
a.b.c.0/17 +0.0.127.255 255.255.128.000 32,768 128 C c = 0, 128
a.b.0.0/16 +0.0.255.255 255.255.000.000 65,536 256 C = 1 B
a.b.0.0/15 +0.1.255.255 255.254.000.000 131,072 2 B b = 0 ... (2n) ... 254
a.b.0.0/14 +0.3.255.255 255.252.000.000 262,144 4 B b = 0 ... (4n) ... 252
a.b.0.0/13 +0.7.255.255 255.248.000.000 524,288 8 B b = 0 ... (8n) ... 248
a.b.0.0/12 +0.15.255.255 255.240.000.000 1,048,576 16 B b = 0 ... (16n) ... 240
a.b.0.0/11 +0.31.255.255 255.224.000.000 2,097,152 32 B b = 0 ... (32n) ... 224
a.b.0.0/10 +0.63.255.255 255.192.000.000 4,194,304 64 B b = 0, 64, 128, 192
a.b.0.0/9 +0.127.255.255 255.128.000.000 8,388,608 128 B b = 0, 128
a.0.0.0/8 +0.255.255.255 255.000.000.000 16,777,216 256 B = 1 A
a.0.0.0/7 +1.255.255.255 254.000.000.000 33,554,432 2 A a = 0 ... (2n) ... 254
a.0.0.0/6 +3.255.255.255 252.000.000.000 67,108,864 4 A a = 0 ... (4n) ... 252
a.0.0.0/5 +7.255.255.255 248.000.000.000 134,217,728 8 A a = 0 ... (8n) ... 248
a.0.0.0/4 +15.255.255.255 240.000.000.000 268,435,456 16 A a = 0 ... (16n) ... 240
a.0.0.0/3 +31.255.255.255 224.000.000.000 536,870,912 32 A a = 0 ... (32n) ... 224
a.0.0.0/2 +63.255.255.255 192.000.000.000 1,073,741,824 64 A a = 0, 64, 128, 192
a.0.0.0/1 +127.255.255.255 128.000.000.000 2,147,483,648 128 A a = 0, 128
0.0.0.0/0 +255.255.255.255 000.000.000.000 4,294,967,296 256 A
Your mind to my mind,
your thought to my thought |
| 發表時間:2016-02-22 12:05 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 78 篇)
問:不知道內網的網段 Private IP 是多少?
答:可以參考 https://tools.ietf.org/html/rfc1597
10.0.0.0 ~ 10.255.255.255 A級網段
172.16.0.0 ~ 172.31.255.255 B級網段
192.168.0.0 ~ 192.168.255.255 C級網段
Your mind to my mind,
your thought to my thought |
| 發表時間:2016-03-22 15:06 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 79 篇)
問:如何轉換古老的 hlp 檔?
答:在 win10 裡打開 hlp 檔會直接跳到這個頁面
https://support.microsoft.com/zh-tw/help/917607/feature-not-included-help-not-supported-error-opening-help-windows
找了一下文章
转换HLP文件到CHM格式
https://wenku.baidu.com/view/29d72b4efe4733687e21aacf.html
转换HLP文件到CHM格式
https://blog.csdn.net/World3000/article/details/80107571
得知需要解碼與編譯
Helpdeco 對 HLP 檔反編譯,包含圖檔等等
HTML Help Workshop 編譯成 CHM 檔使用
不過這次示範的檔案就不用編譯成 CHM 直接拿 htm 來用就好
首先到 漢化新世紀 下載 HELPDECO 2.1 因為其他地方已經找不到下載點,漢化視窗有亂碼可以忽視
http://www.hanzify.org/software/912.html
HTML Help Workshop and Documentation 可以到微軟的網頁下載
https://www.microsoft.com/en-us/download/details.aspx?id=21138
Helpdeco21.zip 下載回來後解壓縮,點兩下 DuffOS.exe 開啟 DuffOS 命令行程序介面
預設會勾選前兩個選項,照用
??... 是開啟檔案
選完檔案後按下 ?行 反編譯 hlp 檔案

再來只勾選 生成 *.CNT 文件 按下 ?行 反編譯 hlp 檔案

目前我們需要的檔案就都解出來了

接下來安裝 HTML Help Workshop 1.3,點兩下 htmlhelp.exe 安裝
安裝完畢後開啟 HTML Help Workshop 來使用,File -> New -> Project
勾選 Convert WinHelp project -> 下一步

第一個 Browse.. 是選反編譯出來的 HPJ 檔案
第二個 Browse.. 我們自訂名稱建立 .hhp 檔案
完成後 -> 下一步 -> 完成

上面的圖可以看到有亂碼而且大部分功能不能開啟~但是我們需要的兩個 htm 檔案已經輸出成功
htm 裡的 charset 要改成正確的編碼並儲存,用 Notepad++ 來處理
接下來就是 html 基本語法的工作了~
這次轉換的成果如下圖

Your mind to my mind,
your thought to my thought |
| 發表時間:2019-07-18 16:29 |
|
dc
管理員

性別:男
來自:瓦肯星
發表總數:11572
註冊時間:2002-05-07 16:32 |
(第 80 篇)
資料來源:Bob's Public Service Announcements
Error 0x80070032 when trying to copy files
Suddenly when trying to copy files from my Win10 computer to a QNAP NAS device I was getting error 0x80070032.
I tried everything I could think of and then had a 45min chat session with QNAP tech support. 1000 points to QNAP they solved the problem. Apparently a particular update along the way changed an important Samba setting. The fix was to SSH into the NAS device and the run the following two commands:
/sbin/setcfg Samba ADS NO
/etc/init.d/smb.sh restart
(the tech used PuTTY to SSH in)
Basically this allowed the transfer of a file without properties. I'm guessing the files that weren't copying (only some of them) had extra sidecar information that was causing Samba to reject the file (old XMP files or Mac files?).
主要是 QNAP NAS 在特定的情況下複製檔案時會出現 error 0x80070032 的錯誤訊息

看 Log 都正常沒問題但就是無法複製檔案上去。
A NAS 有開網域認證
B NAS 沒有開網域認證,使用 NFS mount A NAS 的 [資料夾B] 來存取時必定發生該錯誤
從 B NAS 掛載的 [資料夾B] 複製檔案下來再上傳不會有錯誤,但是新建立的檔案要傳到 [資料夾B] 必定出現 0x80070032 的錯誤訊息。
主要是新檔案少了某些屬性資料的緣故
登入到 B NAS SSH 介面執行下列兩行指令
/sbin/setcfg Samba ADS NO
/etc/init.d/smb.sh restart
之後再複製新檔案到 [資料夾B] 不會出現 0x80070032 的錯誤訊息,檔案可以正常上傳~
Your mind to my mind,
your thought to my thought |
| 發表時間:2020-11-04 14:53 |
|
|
所有時間均為GMT+8, 現在是2025-10-29 22:32 分頁:[ 1 2 3 4 5 6 7 8 9 ] |
|