Windows 10: Difference between revisions

From wikinotes
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Install =
= Install =
<blockquote>
<blockquote>
== Partitioning ==
== Partitioning ==
<blockquote>
Sharing a disk with Windows and another operating system used to be a simple process.
Sharing a disk with Windows and another operating system used to be a simple process.


It now automatically modifies bootloaders and the boot order. I've found it simpler to
It now automatically modifies bootloaders and the boot order. I've found it simpler to
give it it's own HDD, and let it manage it on it's own.
give it it's own HDD, and let it manage it on it's own.
</blockquote><!-- Partitioning -->


== Troubleshooting ==
== Troubleshooting ==
Line 42: Line 43:
https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-now-wont-boot-wont-recover-wont-reset/7ceafab1-f5fe-420a-8b73-aff6a3cd79bb
https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-now-wont-boot-wont-recover-wont-reset/7ceafab1-f5fe-420a-8b73-aff6a3cd79bb


</blockquote><!-- troubleshooting install -->
=== Install failed: Windows could not update the computers boot configuration. Installation cannot proceed ===
<blockquote>
<syntaxhighlight lang="yaml">
tries:
  1: re-enable secureboot  # fail
 
  2: from installmedia:  # fail
    - Advanced Options:
      - Command Prompt:
        bootrec /fixmbr
        bootrec /fixboot  # Access is denied
    # I was able to finish by rebooting with defalt UEFI options (from the windows install media)
    # successive auto boots failed by default, but not if choose the disk from BIOS boot menu
</syntaxhighlight>
</blockquote><!-- Install  -->
</blockquote><!-- Install  -->


= Setup =
= Setup =
<blockquote>
<blockquote>
== UAC ==
== UAC ==
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="yaml">
#### UAC
# UAC
Start > UAC
Start > UAC:
   * never notify ## disable UAC to prevent notifications, and enable
   - never notify:
                  ## chocolatey to install packages
    - disable UAC to prevent notifications, and enable
 
    - chocolatey to install packages
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#### Settings can't be opened using the Built-in Administrator account
# Settings can't be opened using the Built-in Administrator account
#### (untested)
# (untested)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA == 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA == 1
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Privacy -->
</blockquote><!-- UAC -->


== Disable HybridBoot ==
== Disable HybridBoot ==
Line 79: Line 91:


</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- disable Hybridboot -->
</blockquote><!-- Disable Hybridboot -->


== Package Management ==
== Package Management ==
Line 98: Line 110:
|-
|-
|}
|}
</blockquote><!-- Drivers -->
</blockquote><!-- Drivers -->


== Taskbar ==
== Taskbar ==
<blockquote>
<blockquote>
<syntaxhighlight lang="bash">
<syntaxhighlight lang="yaml">
Rclick StartMenu > Search > Hidden
- Rclick StartMenu > Search > Hidden


Rclick StartMenu > Show TaskView Button (uncheck)
- Rclick StartMenu > Show TaskView Button (uncheck)


Rclick StartMenu > Properties
- Rclick StartMenu > Properties:
     > Use Small Tasbar Buttons
     - Use Small Tasbar Buttons
     > Show taskbar on all displays (uncheck)
     - Show taskbar on all displays (uncheck)
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- TaskBar -->
</blockquote><!-- TaskBar -->


Line 131: Line 141:
explorer.exe:
explorer.exe:
   (ribbon) view > options:
   (ribbon) view > options:
     (dropdown) Open File Explorer to: This PC    
     (dropdown) Open File Explorer to: This PC
</source>
</source>
</blockquote><!-- disable quick access -->
</blockquote><!-- disable quick access -->
Line 144: Line 154:
   - Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment:
   - Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment:
       - Create Symbolic Links:
       - Create Symbolic Links:
           - Add User or Group:  
           - Add User or Group:
               - Enter the object names to select:  <your username>
               - Enter the object names to select:  <your username>
- logout/login
- logout/login
Line 167: Line 177:
         properties:
         properties:
             startup type: disabled
             startup type: disabled
</source>
</source>
</blockquote><!-- Disable Updates -->
</blockquote><!-- Disable Updates -->
Line 173: Line 182:
== Privacy ==
== Privacy ==
<blockquote>
<blockquote>
{{ NOTE |
checkout https://privacy.sexy/ next install }}
Essentially, turn everything off. Some notables:
Essentially, turn everything off. Some notables:


Line 205: Line 217:
useful, you'll need to run the setup script.
useful, you'll need to run the setup script.
Also, see [[cygwin]].
Also, see [[cygwin]].
'''Note''' After a full base-install, then installing everything
from the cygports repo, cygwin seemed to be broken. I was able to
repair it by reinstalling some of the base-system from an older repo.
'''Note''' cygwin in windows10 is ''S-L--O----W''. I've never seen it
so non-performant. It's time to look for an alternative like a VM, mingw or the windows
linux subsystem.


== KDE Resizer ==
== KDE Resizer ==
Line 231: Line 235:


http://www.snakebytestudios.com/projects/apps/cursor-lock/
http://www.snakebytestudios.com/projects/apps/cursor-lock/


== x360ce ==
== x360ce ==
Line 249: Line 252:


See [[qttabbar]] .
See [[qttabbar]] .


== TidyTabs ==
== TidyTabs ==
Allows all programs to be tabbed!!!
Allows all programs to be tabbed.


https://www.nurgo-software.com/products/tidytabs
https://www.nurgo-software.com/products/tidytabs
Line 269: Line 271:
= New Features =
= New Features =
<blockquote>
<blockquote>
== Virtual Desktops ==
== Virtual Desktops ==
Virtual Desktops are finally introduced in windows.
Virtual Desktops are finally introduced in windows.
Line 282: Line 283:
<blockquote>
<blockquote>
The realtek ACL898 audio requires you to download/install drivers.
The realtek ACL898 audio requires you to download/install drivers.
 
</blockquote><!-- Wintermute -->
 
</blockquote><!-- Hardware Issues -->
</blockquote><!-- Hardware Issues -->
</blockquote><!-- Hardware Issues -->
</blockquote><!-- New Features -->

Latest revision as of 19:04, 9 March 2024

Install

Partitioning

Sharing a disk with Windows and another operating system used to be a simple process.

It now automatically modifies bootloaders and the boot order. I've found it simpler to give it it's own HDD, and let it manage it on it's own.

Troubleshooting

reinstall mbr

see https://www.4winkey.com/windows-10/how-to-repair-windows-10-uefi-efi-bootloader.html

Could not boot into next phase of Installation (Shared EFI)

There are a couple of different potential options here. Firstly: Windows was not programmed for the possibility of any more than one (windows) EFI partition. This message will occur if you have any more than a single efi partition on your hard drive.

## Unplug all unneeded hard drives
## If still not fixed, try fixing the disc's boot record:
##

bootrec /fixmbr
bootrec /rebuildbcd
bootrec /fixboot

Windows Won't boot, reset

Reboot enough that you get the startup-options menu (3x failed boots). Troubleshoot/Advanced/Command Prompt.

chkdsk c: /r /x

# if only scans, or above does not work
sfc /scannow

https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-now-wont-boot-wont-recover-wont-reset/7ceafab1-f5fe-420a-8b73-aff6a3cd79bb

Install failed: Windows could not update the computers boot configuration. Installation cannot proceed

tries:
  1: re-enable secureboot  # fail

  2: from installmedia:  # fail
    - Advanced Options:
      - Command Prompt:
        bootrec /fixmbr
        bootrec /fixboot  # Access is denied
    # I was able to finish by rebooting with defalt UEFI options (from the windows install media)
    # successive auto boots failed by default, but not if choose the disk from BIOS boot menu

Setup

UAC

# UAC
Start > UAC:
   - never notify:
     - disable UAC to prevent notifications, and enable
     - chocolatey to install packages
# Settings can't be opened using the Built-in Administrator account
# (untested)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA == 1

Disable HybridBoot

Hybridboot is that annoying feature that caches your current windows session, and reloads it rather than going through a full init process. Get it out of here.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power
HiberbootEnabled DWORD

0 = Turn off Fast Startup
1 = Turn on Fast Startup

Package Management

chocolatey much more stable in windows 10. very good!
oneget microsoft's built-in package manager. Still early days.

Drivers

gigabyte UD5H
http://www.gigabyte.com/products/product-page.aspx?pid=5360#dl all motherboard drivers

Taskbar

- Rclick StartMenu > Search > Hidden

- Rclick StartMenu > Show TaskView Button (uncheck)

- Rclick StartMenu > Properties:
    - Use Small Tasbar Buttons
    - Show taskbar on all displays (uncheck)

Disable LockScreen (Win + L)

;disable_lock-workstation.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableLockWorkstation"=dword:00000001

Disable Quick Access

explorer.exe:
  (ribbon) view > options:
    (dropdown) Open File Explorer to: This PC

Allow Symlnks

Allow your user to create symbolic links on your machine without using an administrator-elevated command prompt.

start > gpedit:
   - Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment:
       - Create Symbolic Links:
           - Add User or Group:
               - Enter the object names to select:   <your username>
- logout/login

System clock in UTC

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f

Disable Updates

You probably don't want to do this, since it pretty seriously cripples your installation. But if you need to, (ex: a testing VM) do this:

run:  services
    windows update:
        properties:
            startup type: disabled

Privacy

NOTE:

checkout https://privacy.sexy/ next install

Essentially, turn everything off. Some notables:

Settings > Privacy:
  General:
    - turn off all settings
  Speech:
    - off
  Diagnostics & feedback:
    - off
    - also, delete all diagnostic data
  Activity history:
    - all sliders off
    - clear history activity
  Other Devices:
    - all sliders off
  Background Apps:
    - off
  App diagnostics:
    - App diagnostic info access for this device: Change
      - off
    - all sliders off

Programs

Cygwin

Cygwin is installed with chocolatey, but in order for it to be useful, you'll need to run the setup script. Also, see cygwin.

KDE Resizer

Resize Windows with the windows Key+Mouse.
http://corz.org/windows/software/accessories/KDE-resizing-moving-for-Windows.php

Rclick > Change Hotkey > Use Left Windows Key

Flawless Widescreen

Patch games so that they run with 3x monitors.
http://www.flawlesswidescreen.org/#Download

CursorLock

Some games allow the cursor to extend from the selected monitor onto the next. This fixes that problem.

http://www.snakebytestudios.com/projects/apps/cursor-lock/

x360ce

Tiny portable program that allows you to use the Xbox 360 drivers with other controllers (logitech, ps3, ...).

directx june 2010 http://www.microsoft.com/en-us/download/details.aspx?id=8109
vcredist (install both x86 and x64) http://www.microsoft.com/en-us/download/confirmation.aspx?id=40784
x360ce (32bit and 64bit versions) http://www.x360ce.com/

QtTabBar

Adds tabs to windows-explorer. middle-click a folder to open in new tab.

See qttabbar .

TidyTabs

Allows all programs to be tabbed.

https://www.nurgo-software.com/products/tidytabs

keyrate

Increase repeat rate beyond max in windows (and from cli)

keyrate.exe 200 10  # wait 200ms, repeat every 10ms

New Features

Virtual Desktops

Virtual Desktops are finally introduced in windows.

win + d ## Create new virtual desktop
win + d + left/right ## switch desktops

Hardware Issues

Wintermute

The realtek ACL898 audio requires you to download/install drivers.