Posts

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!

WAMP data folder contains large mysql-bn.xxxxxx files

These files are logs from MySQL queries. To clear them, do the following Go to your mysql bin folder  (ex C:\wamp\bin\mysql\mysqlx.x..xx\bin) Run  mysql.exe -u root -p enter the password Run this command:  SHOW BINARY LOGS; look for the last entry Run this command:  PURGE BINARY LOGS TO 'mysql-bin.xxxxx'  Where mysql-bin.xxxxx is the filename of the last entry. Done!

ITunes won't recognise my iPhone

I have not backed up my phone in a while so I thought of doing it now. When I connected it to my computer, I found that iTunes doesn't recognize my device anymore. There small iPhone icon doesn't appear anymore and my phone is not prompting me to "trust" the computer. I am sure that there is data connection because I can use Windows Explorer to access the phone's image/photos. I tried connecting the phone to another computer and the "trust" prompt came out so I was sure that it was iTunes or my computer playing up. After some research, here's the solution I found. Open Device Manager Expand Portable Devices and look for Apple iPhone.  Right click to Properties, go to Drivers tab, and click Update Driver... on the prompt, choose Browse my computer for driver software browse to the path "C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers" then click Next Disconnect the iPhone and Connect again.  After that, my phon...