Archive for the ‘Windows 10’ Category

Disable UAC (User Account Control) in Windows

Wednesday, May 5th, 2021

C:\Windows\System32\UserAccountControlSettings.exe

Powershell

Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 

 

Set the default pdf viewer app in Windows 10 command line

Friday, March 5th, 2021

SetUserFTA.exe .pdf Applications\Acrobat.exe

SetUserFTA: UserChoice Hash defeated – Set File Type Associations per User or Group on Windows 8/10 and 2012/2016/2019 – the kolbicz blog

Fix and/or Reinstall Windows Store

Wednesday, February 10th, 2021

Open Start, type: powershell
Right click PowerShell
Click Run as administrator

At the command prompt, type the following then hit Enter:

Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Exit Powershell then restart.

Check if you can open the Store.

How to clear your Microsoft Teams cache on Windows 10

Tuesday, November 17th, 2020

1. Quit Microsoft Teams.
2. Cut and paste the following location into File Explorer: 

%appdata%\Microsoft\Teams


3. Delete contents of the entire folder.
4. Restart Microsoft Teams.

How to Fix RDP not Saving Password / Credentials (Windows Remote Desktop Connection)

Tuesday, November 12th, 2019

After upgrading to Windows 10, I have had some issues with a couple of RDP connections that wouldn’t store the username and password (credentials). Despite ticking the box to save the credentials, it would always prompt me to enter the password.

Here’s how to fix the issue with RDP not saving the login information, which should work not just on Windows 10, but also other versions of Windows if you have the same problem:

  1. Click Start and type “GPEDIT.MSC” to search for the shortcut to the Windows Group Policy Editor.
  2. Right-click the gpedit.msc shortcut and click run as Administrator.
    (Ignore any popups about errors if you get any when the Group Policy Editor console opens up).
  3. Browse to Local Computer Policy > Computer Configuration > Administrative Temples > System > Credentials Delegation
  4. Double click the setting called “Allow delegating default credentials with NTLM-only server authentication” to edit it.
  5. Change the setting to “Enabled” and then click the “Show…” button in the “Options:” window where it says “Add servers to the list:”.
  6. Double click the field below “Value” (with the black arrow to the left) and type in “TERMSRV/*” (without the double quotes).
  7. Click Ok and then Ok again to close both popups, so that you only see the list of settings again.
  8. Now just repeat the exact same for these three policies as well:
    Allow delegating default credentials
    Allow delegating saved credentials
    Allow delegating saved credentials with NTLM-only server authentication
  9. Close the Local Group Policy Editor and RDP should now work as expected again!
  10. Restart

https://tommynation.com/fix-rdp-saving-password-credentials-windows-remote-desktop-connection/

Change Windows Desktop Background – Windows 10

Saturday, February 2nd, 2019

The background is stored in the registry. There are a few different ways to set it. But there several ways to set a registry value via the command line.

To set the background to a specific color you need to unset any wallpaers, and set the color.

HKEY_CURRENT_USER\Control Panel\Colors\Background = ‘r g b’

HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper = ‘