有一份excel編輯到一半時當掉了,重開啟啟後,裡面完全沒任何東西,沒任何頁籤。
所以就用修復的方式再開啟一次,但還是沒效,想說沒救了。
結果就查了一下excel沒有任何頁籤,沒想到還真的有這個設定,去檢視裡面,取消隱藏頁籤,檔案裡的資料就全部出現,恢復正常了。
有一份excel編輯到一半時當掉了,重開啟啟後,裡面完全沒任何東西,沒任何頁籤。
所以就用修復的方式再開啟一次,但還是沒效,想說沒救了。
結果就查了一下excel沒有任何頁籤,沒想到還真的有這個設定,去檢視裡面,取消隱藏頁籤,檔案裡的資料就全部出現,恢復正常了。
偶爾都會遇到ad帳號一直被鎖的問題,就要去查明原因,下面就列出清查的方式。
事情準備 : dc主機上相關log功能一定要開。
1. 在gpo->domain controllers policy裡,要啟用下列三個稽核功能,這樣在事件檢視器裡的安全性事件裡,才能找到登入失敗的相關訊息。
We occasionally encounter issues where an AD account keeps getting locked, and we need to investigate the cause. Below are the steps for troubleshooting.
Preparation:
Make sure the relevant logging features are enabled on the domain controller (DC).
In GPO -> Domain Controllers Policy, enable the following three audit policies. This will allow you to find failed login information under the Security events in Event Viewer.
Also in GPO -> Domain Controllers Policy, enable NTLM auditing. This helps you locate more accurate failed login details under the NTLM section in Event Viewer.
Configure alerts to notify relevant personnel via email when an account lockout log is generated. This ensures you're aware when an account is repeatedly getting locked.
Troubleshooting Process:
When you discover that a certain account keeps getting locked:
First, check the Security event logs for event IDs 4625, 4771, and 4776. If you can find the source IP there, locate the corresponding computer and take action.
If the source computer cannot be identified in the Security logs, check the NTLM logs. These also show the source machine involved in the failed login.
A recent unusual case:
An account from domain A was being locked, but the NTLM log showed that the secure channel name was a domain controller from trusted domain B. However, the workstation name shown could not be found in domain B and kept changing.
In this case, we checked the NTLM logs on the domain controller in domain B. The secure channel name in the logs pointed to a computer within the domain.
We later found that this computer was running a public-facing service, and there were some abnormal external connection attempts. After shutting down the service, the account lockout issue was resolved.
如果要查詢m365 office 帳號在哪一台設備啟用了,就要先進到Microsoft 365 admin center。
在"作用中的使用者",點選該帳號,左邊會出現相關資訊,在最下面就有一個"檢視 Microsoft 365 啟用"。
裡面就會顯示在哪些裝置上啟用了這個帳號。
利用Next Terminal, 遠端連線到其他台windows電腦時,按某些鍵時,並不會出現正確的字,會變成其他快捷鍵功能。譬如說按下t,會跳出檔案總管之類的。
這時後就是把那台windows重開機,就會正常了。
最近Fortigate 升級firmware後,某些win7在使用sslvpn連線都會出現 mismatch in the TLS version的錯誤。
After upgrading the Fortigate firmware, we observed that some Windows 7 systems encountered a "mismatch in the TLS version" error when attempting to connect via SSL VPN.
We verified that all TLS-related options were enabled under Internet Options, but the issue persisted.
Upon further investigation, we discovered that the problem was caused by missing Windows Updates on the affected Windows 7 machines.
However, we were unable to determine exactly which specific update resolved the issue, as we did not test each update individually. Instead, after applying all pending Windows Updates, the SSL VPN connection was successfully established.
照著下列這編要做PYTHON發訊息到telegram(https://vocus.cc/article/67ca97aefd8978000187e654),
結果出訊錯誤訊自 "{'ok': False, 'error_code': 400, 'description': 'Bad Request: chat not found'}"
原來是你要先在telegram搜尋到自己剛建立的bot,傳個訊息給它,才可以用python發訊息給它。
主機在意外當機後,有一個備份工作一直無法正常運作,會出現下列錯誤
錯誤碼: [32:399] 描述: Deduplication Database (DDB) access path [D:\xxx_dedup]
on MediaAgent [commvault] is offline for Storage Policy Copy [VMBackup_Policy / xxx ].
Offline Reason: The active DDB of current storage policy copy is not available to use. 請啟動重複數據刪除DB重建作業。
查了一下原廠網站說明,我們就是因為ddb程序意外中斷的關係造成這個問題。
對照下面的解決方法,我們必預要手動執行復原 Deduplication Database的工作 。
方法就是從"儲存資源"->"DeDup引擎",找到執行失敗的策略,去"所有工作",裡面有個"復原存放區",執行這個工作。
The original ESXi was an HP-specific version of 6.5. To install a newer Windows Server OS vm, an ESXi upgrade is required.
Since ESXi no longer offers a free version, the latest version was downloaded from HP’s official website:
HP ESXi Download.
The upgrade is fast, taking less than 15 minutes. However, one important thing to note is that after upgrading, the previous ESXi 6.5 free license will no longer work. When logging into the ESXi web console, it will indicate that the current version is a 60-day trial.
To resolve this, simply enter a free ESXi 7.0 license key to activate it. This key is not brand-specific and works for any ESXi 7.0 installation.
用週選做covered call,遇到這種一直殺的盤,沒適時停損,愈賠愈多,最後受不了,心態扛不住昨晚才停損,停損後就往上噴了.....
前幾個月賺的都沒了還倒賠,做期權,紀律真的太重要了。
在ad環境中,每個使用者帳號可以設定電腦加入網域10次,如果要查這個帳號剩次數可以用,可以用下列這個powershell,它會顯示已經使用幾次,下圖就是某帳號已用掉3次,還剩7次。
$UserName = "account" # 替換為你的帳號名稱
$UserSID = (Get-ADUser $UserName).SID
Get-ADComputer -Filter * -Property ms-DS-CreatorSID | Where-Object { $_.'ms-DS-CreatorSID' -eq $UserSID } | Measure-Object