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

12/10/2024

How to fix Windows boot issues

What worked on my Alienware Windows 10:
  1. Use Windows Media creation tool to create a bootable USB Windows 10
  2. Boot to repair my computer and start a terminal
  3. Run:
    1. diskpart
    2. sel disk 0
    3. sel volume 0 ------`#mycomment (The system EFI volume)`
    4. assign letter S:
    5. exit
  4. Run:
    1. S:
    2. cd EFI\Microsoft\Boot\
    3. ren BCD BCD.bak
    4. bcdboot C:\Windows /s S: /f ALL
    5. bootrec /rebuildbcd
    6. exit
  5. Restart the computer and it should boot

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

Google doc 谷歌文档 在Microsoft Edge浏览器环境下用搜狗输入法不能输入中文

 原来是搜狗输入法的版本过低,升级搜狗输入法的版本到10.4之后就可以正常输入中文了

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 start an application automatically, move the shortcut of the app to the start up folder.
To get the startup folder: win key + R, then run shell:startup

2/10/2020

Windows cannot open Store in China

Search for Internet Options and open it.
Internet Options | Advanced | Check Use TLS 1.2



1/21/2018

Windows cannot go to sleep

powercfg /energy

Then open:
C:\WINDOWS\system32\energy-report.html

1/08/2018

Firefox monospace font is not used

Today I found that my Firefox 57 doesn't render the monospace font correctly anymore. It should render Consolas font, but for some reason it renders as Serif font.

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

Just use the IP of the machine instead of using the machine name!!

飞鸽传书 乱码 Windows 10解决办法

Additional date, time and regional settings | Language | Change date,time or number formats

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

haha
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

Install  VB-audio virtual cable

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

I really like the shortcuts of mplayer, but Windows Media Player is faster.
Need to install http://wmpkeys.sourceforge.net/ for Windows Media Player.

4/07/2017

VirtualBox guest os ubuntu font pixelated

After installing Ubuntu (guest) on Windows 10 (host), I fond the system UI interface font is pixelated. The host machine is Macbook Pro with Retina display.

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%