Problem: Can’t print anymore on Fedora 26

Some days ago my Fedora 26 workstation stop printing on a HP 1505n connected via network. This is what i found on eventlog:

[  234.320486] pdftopdf[2220]: segfault at 10 ip 00007f34fd4ea19f sp 00007ffee7b72d80 error 6 in libc-2.25.so[7f34fd461000+1c7000]

pdftopdf is crashing… and here the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1478537

Update to qpdf-libs-6.0.0-8.fc26 for solve the problem.

How to Disable SMB1

WannaCry and Co. suggest that it’s time to remove some old protocol, and SMB1 it’s one of that.

Here you find a script that is usefull for that; run it as admin rights:

Disable-SMB1.cmd

This batch call a powershell script (check that all the scripts is stored on the same folder and that the execution path is where you store the scripts)

I used a batch to bypass the powershell signature and make easier for helpdesk to runas as admin.

For disable it with GPO, check this:
https://support.microsoft.com/en-us/help/2696547/how-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and-windows

PROBLEM: Outlook Indexing is not reliable

If you recently start to have problem with Outlook search after June patches rollout, this is a know issue:

https://support.office.com/en-us/article/Outlook-known-issues-in-the-June-2017-security-updates-3f6dbffd-8505-492d-b19f-b3b89369ed9b?ui=en-US&rs=en-US&ad=US

Based on your OS there is a fix release (check the link above) or, if you prefer a workaround; a reg key to add.

 

Some other links regarding indexing problem:

https://support.microsoft.com/en-us/help/2769651/outlook-search-returns-no-matches-found
https://support.microsoft.com/en-us/help/2925203/incomplete-search-results-may-occur-in-outlook-when-a-pdf-ifilter-is-i

How to Delete WSD printer Port

I had a Windows 2012 R2 printserver where a WSD port was still there after printer deletion. Delete only the port was not possible (operation not permit).

The spooler will delete the port only if it is assigned to a printer and you are deleting the printer. As workaround you can create a fake printer using this port and a preinstalled driver, then delete the printer.

But using powershell is possible to work less…

List all the WSD Printer Port:

Get-PrinterPort -Name wsd*

Delete the WSD Printer Port (PortName):

Remove-PrinterPort -Name PortName

or if you have only one WSD port:

Remove-PrinterPort -Name (Get-PrinterPort -Name wsd*).name

How to Create a Link to a SharePoint Library opening with Explorer

Open your SharePoint library with IE (otherwise the button “Open with Explorer” is disabled) and open it with Explorer using the button on Ribbon:

Sharepoint_OpenWithExplorer

Within Windows Explorer, right-click on a folder of your Library and select “Create Shortcut”.

Right click on the new shortcut and select “properties”.

Copy the URL you find on “Target”; Should be something like this:

\\your.sharepoint.com@SSL\DavWWWRoot\sites\LIBRARY

Explorer_SharepointLink

Now on a SharePoint page or in any HTML page, create a link with this URL:

file:////your.sharepoint.com@SSL/DavWWWRoot/sites/LIBRARY

Example:

<a href="file://your.sharepoint.com@ssl/DavWWWRoot/sites/LIBRARY/FOLDER">My Library Shortcut</a>

Notes:
In case your URL contains any spaces you need to encode them as “%20”. For other encodings see: http://www.w3schools.com/tags/ref_urlencode.asp