弘弘的部落格
2014年10月16日 星期四
User Profile Service 服務無法登入 無法載入使用者設定檔
1. 使用安全模式(含命令提示字元) 進入windows
2. regedit
3. 展開HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
4. 找到兩個比較長的,重新命名以便對調 .bak
5. 針對沒有.bak 的項目,將右邊視窗中的 refcount 和 state 都修改為0
6. 重新開機便可以順利登入
參考來源
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
批次檔正確處理中文
1. 確定檔案編碼為 UTF-8 2. 開頭先執行 chcp 65001
讓chrome 自動開啟檔案且不要下載
1. 設定檔案下載儲存位置為 C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default\Cache 2. 勾選"下載每個檔案前詢問儲存位置" 3. 針對不要下載的檔案類型於第一...
epplus 用法
自動設定欄寬 sheet.Cells.AutoFitColumns(3, 20); // 必須設定 min 跟 max 才會正常作用 凍結欄位 sheet.View.FreezePanes(4, 4); 標題列 ws.PrinterSettings.RepeatRo...
使用 epplus 產生檔案後轉成 PDF
使用 FreeSpire.XLS ... ep.Save(); using (var workbook = new Workbook()) using (var memStream = new MemoryStream()) { workbook.LoadFromSt...
沒有留言:
張貼留言