Windows – How to delete Device Drivers

March 28, 2018

 

At some point I had big issues removing drivers from a Windows system.

As you can see all the flagged drivers I needed to remove.

image

But after uninstalling they always came back automatically. Even if I did this in SAFE MODE … ?

Solution :

I used this PowerShell Script to find the incorrect drivers and remove them.

The cmdline utility used was PnPUtil.exe

image

image

CLS

$x = get-wmiobject Win32_PnpsignedDriver | where {$_.DeviceName -like "*Ncp*" -and $_.InfName -like "*oem*"}

foreach ($InfName in $x){
#$InfName

 pnputil -f -d $InfName.InfName

write-host "Deleted - " $InfName.InfName " "$InfName.Friendlyname

}

image

If this does not work you can used the this alternative

image

Make sure you check the DELETE driver software for this device option.

Next do a SCAN Hardware changes and it will install again properly.

More information on how to remove drivers you can find here : https://www.online-tech-tips.com/computer-tips/unable-delete-network-adapter-windows-10/

Enjoy !

Advertisements

SSRS – SharePoint Lists Default VIEW

March 22, 2018

Once you connect to a SharePoint List you will always get connected to the list using the DEFAULT VIEW.

Which might not be what you want because it can be a FILTERED View. And therefore not showing you all the records you want.

SOLUTION :

1. Go to DataSet –> Query

image

2. Apply a Filter

image

Strangely enough if you DO NOT Apply a filter in the Query Designer. It will fetch the data using the DEFAULT VIEW set in SharePoint ???

So basically in order to get ALL the DATA, you need to SET a FILTER that covers the whole range in your data set.

Very contradictory approach Confused smile

Enjoy !


SSRS – SharePoint Lists HTML Tags

March 22, 2018

If you are working a lot using SSRS against SharePoint Lists.

You will see that some lists that contain Text are not displayed properly… Sad smile

See Example :

image

The first column shows the raw output with all the HTML Tags.

While the second column shows you the proper output you need for the report.

SOLUTION :

1. You first need to add a PLACEHOLDER in the column

image

2. Secondly put in the field that has the HTML text, and choose HTML as MARKUP TYPE

image

Enjoy !


Windows 10 – High Harddisk activity on wiatrace.log

March 11, 2018

You  may notice a high HD activity writing to the wiatrace.log file.

WIA stands for Windows Image Acquisition Library.

This is used if you have a Printer scanner installed. Even if you don’t use the Scanner the log file writes debug info to it.

SOLUTION :

Open the registry and go to :

HKLM\System\CurrentControlSet\Control\StillImage\Trace\wiaservc.dll

image

Change the value to of TRACEFLAGS from 407 to 0

Check the disk activity again, it should be gone now Smile

Enjoy !