Windows 10

Revision as of 13:28, 16 June 2021 by Mhan (talk | contribs) (IME)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

User management

Changing environment variables

C:\> rundll32 sysdm.cpl,EditEnvironmentVariables


File management

Changing date taken on MP4 files

You can easily change metadata on JPGs through Windows Explorer's property dialog, but for reasons I don't have time to explore at the moment, metadata on MP4 files are somehow unchangeable from Windows Explorer. I had to download a small utility called exiftool to do it. My camera had the month, the day, and time right, but year was off by 1. It was a small mistake I had made when I first set up the camera, and all of my videos and photos had the wrong year. The following three lines of commands fixes that by changing whatever the year it was to 2019 (as of now, and found on 3rd line in the code block.) Just rename the value of F to whatever file name you need to update. In order to use it just copy these three lines to your Notepad and change the filename on the first line. I may get around to write a batch file to process it for entire folder, but feel free to create one yourself and let me know via email form via the link on the bottom of this page or somewhere else if you're using a different MediaWiki skin.

C:\files> SET F=MVI_1482.MP4
C:\files> FOR /F "tokens=*" %g IN ('exiftool -a -s -G1 -time:all %F% ^| find " DateTimeOriginal"') do SET VAR=%g
// you'll get some kind of output here from the command above -- just ignore it
C:\files> exiftool -CreateDate="2019%VAR:~54%" %F%
    1 image files updated


Power management

System wouldn't go to sleep

There are many reasons why a computer wouldn't go sleep regardless of the power settings. Here are some of my notes on troubleshooting this.

MoUsoCoreWorker.exe (Windows Update service)

If powercfg -requests lists MoUsoCoreWorker.exe, the Windows Update service may be stuck on somewhere. Just restart the Windows Update services by opening services.msc.


Network related issues

SYMPTOM

powercfg -requests yields the following (get into CMD as an Administrator):

C:\Windows\system32>powercfg -requests
DISPLAY:
None.

SYSTEM:
[DRIVER] \FileSystem\srvnet
An active remote client has recently sent requests to this machine.

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
None.

POSSIBLE RESOLUTION

C:\Windows\system32>powercfg -requestsoverride DRIVER "\FileSystem\srvnet" SYSTEM

IME

Korean IME

  • Last tested on Windows 10 v21H1 (2021-06-16)

가끔식 무슨 이유인지는 모르겠지만 자음과 모음이 분리돼어 입력이 될때가 있다. 예를 들어, 대한민국을 치면 "ㄷㅐㅎㅏㄴㅁㅣㄴㄱㅜㄱ" 으로 나온다. 재일 빠른 해결책은 Windows + . (이모지창) 을 나오게 하면 해결된다는 것. 다음은 입력기를 다시 시작하는 방법이다.

taskkill /f /im TextInputHost.exe

Activation

Reactive license

C:\> slmgr -rearm