Posts

Convert GoDadddy Cert to PFX + Private Key for Apache

Use these steps to convert your Godaddy-issued Certificate (CRT or P7B) for use with Apache (requires PFX + Private Key). Important Note: The certificate request most be down on an IIS server, so it's easier to import it back in the server. Other, the first part of the guide will have to be done using the Certificates MMC. Convert the files to password-protected PFX Open IIS on the server there the CSR was created Go to the Server Node, and open Server Certificates On the right pane, choose Complete Certificate Request and choose the CRT of P7B file from GoDaddy, assign a simple name. Once done, right-click the certificate and choose Export Assign a filename for the Export Assign a password  Click Export to create the PFX file Convert the password-protected PFX file to PFX + private key Go to the Apache server and open a command prompt If needed, add the path then openssl.exe file to the PATH environmental variable by issuing this command: PATH=%PATH%;{folder location of openssl.ex...

Upgrade Windows 11 Home to Pro

 Found this on Reddit Open up Powershell Type  irm https://massgrave.dev/get | iex  and hit enter Disconnect from the Internet Enter the "Extras menu" Enter the "Change Windows Edition menu" . Choose "Professional" (You can choose other editions as well) Choose the first method Confirm it and wait a few minutes until your laptop reboots After this you can activate Windows via Settings -> Activation Settings

Win10 computer can't connect to Win2003 share because of SMB1

 We had an incident today where a new laptop with Windows 10 Pro couldn't connect to the folder share on one of our servers. The server is an old Windows 2003 Standard. After some research, I found that SMB 1.0 is no longer included in the newer releases of Windows 10. Unfortunately for us, we're not ready to upgrade the server yet, so the fix had to be done on the client.  Here's the solution I found on the web. This should be done on the Windows 10 computer. Press Windows key + R  Type: optionalfeatures.exe, Enter Scroll down to SMB 1.0/CIFS File Sharing Support Check "SMB 1.0/CIFS Client" Click OK  Restart the computer And done!

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

Image
I had an issue today where an Office update caused my C# applications to stop connecting to my access database. I suddenly started getting the error: Here's how to fix it. First, confirm that you do not have Office 12.0 OLE DB Provider by opening up PowerShell and running this command (New-Object system.data.oledb.oledbenumerator).GetElements() | select SOURCES_NAME, SOURCES_DESCRIPTION This screen shot was taken after I fixed my computer. It shows ACE.OLEDB.12.0, 15.0, and 16.0. If you don't have these, run the Access 2016 runtime installer from: http://www.microsoft.com/en-us/download/details.aspx?id=50040

Remote Desktop (RDC) in only 2 of 3 monitors

I'm currently using a laptop at home to connect to work. I would normally VPN in and use Remote Desktop Connection to access my office desktop. My laptop is connected to a dock which is then connected to 2 big monitors - so I have 3 monitors in total. However, I only want RDC displayed in the 2 big monitors, leaving my laptop screen for my local apps (meetings, chats, and other communication tools). By default, Microsoft RDC only gives you the option to use a single display (by choosing the resolution), or to "use all my monitors". Here's a simple trick to overcome this. First, identify your monitors using the mstsc /l command. This will give you the list of monitors you currently have. Take note of the monitor index numbers (0, 1 ,2 , etc) Open Remote Desktop Click Show Options Type in your Computer Name Click Save As and save the RDP file/shortcut Look for the RDP file that you saved and open it in Notepad  Look for use multimon:i:0 and change it to u...

Lenovo X1 Carbon Battery Problem - Plugged, Not Charging

Solution taken from  https://stebalien.com/blog/fix-for-lenovo-x1-carbon-not-charging/ Happened on one of our laptops. The battery was draining and if you plug in the charger, it just says "Plugged In, Not Charging" To fix: Unplug the charger Restart the laptop Press Enter to interrupt normal startup Press F1 to enter the BIOS Seup Go to Config, Power Go to the bottom of the list where it says "Disable built-in battery". Press Enter. The laptop will shut down.  Plug in the charger and restart the laptop.

Windows RRAS VPN configuration when server is behind NAT

The following configuration changes have to be done when the Windows VPN server (Remote Access and Routing Service) is behind NAT (ie, server has a private IP). To make PPTP work: Allow tcp/1723 traffic to flow through the firewall to the RRAS server Add inspect pptp on the firewall To make L2TP/IPSec work on Windows clients: On the client device, open Registry Editor Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent Add a DWORD (32-bit) key named AssumeUDPEncapsulationContextOnSendRule   Set the value to 2, and base to Hexadecimal Restart the client PC (this is important). Done!