Skip to content

Instantly share code, notes, and snippets.

View oledid's full-sized avatar
😃
On duty

Ole Morten Didriksen oledid

😃
On duty
View GitHub Profile
@oledid
oledid / make-vc-keys.ps1
Created June 14, 2021 11:15 — forked from srvrguy/make-vc-keys.ps1
A PowerShell script to make a 2048-bit RSA keypair. Saves the files in XML format in the user's document directory.
# Create a 2048-bit RSA Keypair in XML format
#
# @author Michael Johnson <michael.johnson@snap.md>
# @copyright 2016 SnapMD, Inc.
# @license https://opensource.org/licenses/BSD-2-Clause Simplified BSD License
<#
Copyright (c) 2016, SnapMD, Inc.
All rights reserved.
@oledid
oledid / ms_description.reg
Last active April 14, 2023 09:07
Show MS_Description in SQL Management Studio (SSMS) designer
Windows Registry Editor Version 5.00
; Please read https://stackoverflow.com/questions/10537610/how-do-i-add-the-description-property-to-the-table-designer-view-in-ssms
; before running this file
[HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\19.0_IsoShell\DataProject]
"SSVPropViewColumnsSQL70"="1,2,6,17;"
"SSVPropViewColumnsSQL80"="1,2,6,17;"
@oledid
oledid / How to fix local account password not synced with connected microsoft account password.md
Last active April 14, 2023 18:11
How to fix local account password not synced with connected microsoft account password

How to fix local account password not synced with connected microsoft account password

May fix rare problems connecting to RDP

Source: Karl Grear1's response here https://answers.microsoft.com/en-us/windows/forum/all/remote-desktop-connection-logon-attempt-failed/9bfe09b6-87dd-41a6-ba62-2b65a6b64bce

If you do not know your local account name run PowerShell or Command Prompt and run the command 'whoami'

Hold down the shift key, and right click on a shortcut of your choice. I used PowerShell, but Notepad or some other small application should work.