- Use Windows Media creation tool to create a bootable USB Windows 10
- Boot to repair my computer and start a terminal
- Run:
- diskpart
- sel disk 0
- sel volume 0 ------`#mycomment (The system EFI volume)`
- assign letter S:
- exit
- Run:
- S:
- cd EFI\Microsoft\Boot\
- ren BCD BCD.bak
- bcdboot C:\Windows /s S: /f ALL
- bootrec /rebuildbcd
- exit
- Restart the computer and it should boot
12/10/2024
How to fix Windows boot issues
11/11/2024
Microsoft Office Infinite login loop fix
We have recently received the same feedback from many users and this has become a hot issue recently. After our investigation, your problem should be caused by an error in the account information recorded by the Office application, at this time I would recommend that you clean up the account information in the registry and then reopen the Office application and log in. Below are the exact steps:
1. Press Windows + R to open the run box, copy and paste the following path, back up all the folders in this path, and then delete them.
%localappdata%/Microsoft/OneAuth
%localappdata%/Microsoft/IdentityCache
2. Press Windows + R, enter regedit, click OK, open the registry, locate the following registry subkey, right-click Identity, and delete it.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity
Disclaimer: In general, changing registry subkeys or workgroup is intended for advanced users, administrators, and IT professionals. It can help fix some issues, but serious problems can arise if you modify the registry incorrectly. Therefore, make sure to follow these steps carefully. For additional protection, back up the registry before editing it. Then, you can restore the registry if a problem occurs. For more information on how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article.
If the problem reappears after cleaning the registration information, please refer to the following method to roll back Office applications to an older version:
1. Please close all Office applications first.
2.Run Command Prompt as an administrator ("Win" logo key + "Q", enter "cmd", select "Run as administrator"), and enter the following commands one by one.
cd %programfiles% \Common Files\microsoft shared\ClickToRun
Officec2rclient.exe /update user updatetoversion=16.0.17531.20120
3. After completing the installation, please restart your computer, then open the Office application and sign in to your Microsoft account.
4. Please open any Word/Excel/PPT document > Click on File in the upper left corner of the page > Click on Account in the lower left corner of the page > On the right side of the page, there will be information about your Office product, please click on the update option on the left side of the Office Update > In the menu, find the Disable Update, to avoid the problem of updating Office to the latest version. to prevent Office from updating to the latest version and causing the problem again.
7/25/2024
Use keyboard to mimic mouse left click
Ubuntu/Linux: Create a shortcut to use xdotool click 1 command
Windows: Use AHK software,
#j::
MouseClick, left
4/14/2024
How to set Windows 11 to hibernate automatically (hibernate after) hibernation
Just to be clear, Windows has two low-power modes:
Sleep - All non-essential activities and drivers are stopped and the processor goes into power-conservation mode
Hibernate - The current system state is stored to hard drive, and the system powers off
Sleep is enabled OOTB and can be controlled by control panel.
You can enable hibernate from the advanced power settings in control panel.
In Windows 10, you can set the timeout so that after sleeping for a certain duration, the PC automatically hibernates to go to deep power saving.
Windows 11 seems to be missing the UI feature to set that time out and by default it's set to a very long time (like 16 hours)
Here's how to enable hibernate and set the timeouts by the command line.
如果要从UI上enable:Control Panel | Power | 选择电源按钮的功能 | 休眠显示在电源菜单
Open an elevated command prompt (run as administrator)
Enable hibernate: powercfg /HIBERNATE ON
Query the current hibernate idle settings: powercfg /Q
Look for a section that looks like:
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
GUID Alias: SCHEME_BALANCED
Subgroup GUID: 238c9fa8-0aad-41ed-83f4-97be242c8f20 (Sleep)
GUID Alias: SUB_SLEEP
Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364 (Hibernate after)
GUID Alias: HIBERNATEIDLE
Minimum Possible Setting: 0x00000000
Maximum Possible Setting: 0xffffffff
Possible Settings increment: 0x00000001
Possible Settings units: Seconds
Current AC Power Setting Index: 0x00000000
Current DC Power Setting Index: 0x00000e10
0x00000e10 = 3600 seconds
To set the DC power (battery power) timeout: powercfg /x hibernate-timeout-dc 60
This will set it to 60 min or 3600 seconds or 0x00000e10 seconds
You can even make it work when on AC power (plugged in): powercfg /x hibernate-timeout-ac 60
9/07/2021
Windows Virtual Desktop / Session / Workspace
This program was made for people who are using Windows 10's built-in Virtual Desktops, but who don't like the default key-binding, don't like how you can't cycle through your desktops (If you are on your last one you don't want to hotkey over to the first one 8 times), and don't like not knowing what desktop # they are on.
https://github.com/m0ngr31/VirtualDesktopManager
7/09/2021
6/06/2021
12/23/2020
LG display text blurry (not sharp) on Windows 10 LG显示器字体不清楚
The LG display settings need to be modified.
Press the center button to open the settings. 设置 | 通用 | HDMI兼容模式 | 开启
2/21/2020
Windows 10 startup folder
To get the startup folder: win key + R, then run shell:startup
2/10/2020
10/04/2019
1/21/2018
1/08/2018
Firefox monospace font is not used
After a little debugging, I found that this was caused by the Windows 10 language & region formats. I set it to Chinese (Simplied, China).
How to fix:
Instead of modifying the Latin font settings in Firefox, change the Chinese, Simplied font settings to Consolas instead. My problem was fixed by that.
1/06/2018
Windows 10 飞鸽传书不能传文件解决办法
Goto:
Firewall & Network Protection | Allow an app throught firewall
Allow 飞鸽传书 in both private and public
How to connect to anohter windows 10 shared folder with different credentials
飞鸽传书 乱码 Windows 10解决办法
Formats: Change format to Chinese (Simplified, China)
Administrative: Language for non-Unicode programs, Current language for non-Unicode programs: Chinese (Simplified, China)
7/19/2017
Cannot ping a windows 10 machine
1. Make sure the network discovery and file sharing is turned on the Windows 10 machine
2. Make sure the firewall allows the connection.
3. Restart your router to refresh your changes. This is important because Windows can cache the network discovery result.
5/27/2017
How to set up Windows sound loopback
When recording background music:
Sound | Playback | Set Cable Input as Default
Sound | Recording | Microphone Array | Properties | Listen to Cable Input
Sound | Recording | Cable Output | Properties | Listen to Headphone
In the recording app, set the mic to Cable Output as the input source.
This way the Cable Output will include both the background music from the computer and the sound from the microphone.
4/25/2017
Windows Media Player is faster than mplayer when playing GoPro 4 videos
Need to install http://wmpkeys.sourceforge.net/ for Windows Media Player.
4/07/2017
VirtualBox guest os ubuntu font pixelated
To fix it:
In Ubuntu (guest)
Settings | General | User Interface Scaling, change it to Double DPI.
Then make sure the Virtual Box view scaling is 100%