QuickBooks and Server 2012 R2 Essentials
article #1236, updated 2267 days ago

Deep in this page:

https://community.intuit.com/articles/1502150-how-to-fix-error-h101-h202-h303-or-h505-when-opening-your-company-file-in-quickbooks-desktop#detailscollapse4

we have a strange piece of input stated as being specifically and only to Server 2012 R2, to prevent H202 errors and the like. We are to do the following:

  1. Stop the Base Filtering Engine in services.msc
  2. Perform a Scan in the QuickBooks Database Server Manager, after making sure that appropriate folder(s) are selected
  3. Start the Base Filtering Engine in services.msc

Categories:      

==============

Much better way to burn ISO images to USB sticks / flash drives
article #1235, updated 2267 days ago

Windows, Linux, and MacOS:

https://etcher.io/

Categories:      

==============

Identify safe and infected web sites
article #1234, updated 2268 days ago

From the remarkable Tharin Brown:

https://transparencyreport.google.com/safe-browsing/search

Categories:      

==============

The Windows Update Troubleshooter by Microsoft
article #1155, updated 2269 days ago

Here it is, all current versions:

https://support.microsoft.com/en-us/help/4027322/windows-update-troubleshooter

Categories:      

==============

Faster wizard for Windows 10 major updates
article #1233, updated 2269 days ago

The “Update” button on this page delivers a method faster than most:

https://www.microsoft.com/en-in/software-download/windows10

Categories:      

==============

Office 365 / Exchange Online Mailbox Migration Stall
article #1232, updated 2273 days ago

When you do an Office 365 / EOL migration with Azure AD Sync in place, mailboxes may freeze up, where in the O365 console under “Mail Settings” for one or more mailboxes, it says “This user’s on-premises mailbox has not been migrated to Exchange Online. The Exchange Online mailbox will be available once migration is completed.” One may spend a whole lot of time, even with Microsoft on the line, not fixing this problem.

There may be more than one cause. But a very important cause and fix is outlined here:

https://mikeparker365.wordpress.com/2016/01/07/how-to-filter-out-msexchmailboxguid-from-aad-connect-sync/

The gist of it is, one of the user attributes synched up from the on-prem server is “msExchMailboxGuid”, and this is trouble, because if this is synched up, EOL thinks it is trying to make a duplicate of an existing mailbox, rather than a new one, and it will not make a duplicate, it is in fact waiting for this attribute to be deleted before proceeding.

So what we do, is we go to Synchronization Service, right-click on “Active Directory Domain Services”, make sure “Connector Designer” is selected, and then scroll down to msExchMailboxGuid , and uncheck it. Then click OK.

The next step is to kick off a sync. The easiest way is in Powershell on the server which has AD Sync installed:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Initial

You can watch the progress in “Synchronization Service” if you like; after the two final exports are complete it is done. But we’re not done yet.

The next step, is to remove the licenses from all of the O365 accounts which are marked as not yet migrated.

Then run another sync.

Then add the licenses back.

And run another sync.

That did it this morning!

Categories:      

==============

Run Azure AD Sync by Powershell
article #1231, updated 2273 days ago

These two will do it in the current version as of this writing:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Initial 

The above is a full sync, necessary in a minority of circumstances. A delta sync is as follows:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta

Categories:      

==============

Windows printer setup automation by script: Installation
article #1229, updated 2282 days ago

Recently there was a case where a Windows Server 2016 print server was set up, and very odd things happened vis a vis one particular large MFP: When any non-admin user changed printer settings on her/his PC only, those settings were replicated to all users on all PCs who had that printer. Microsoft printer deployment was doing it somehow; testing was done both using Print Management and the other GPO print setup method, same result. When manual mappings were used to replace the deployments via Windows Explorer, the symptom went away.

Thus the CMD script below. It can be run as administrator from a PC or remotely via psexec, or a variety of other ways. It installs the driver into the PC, and via scheduled task, any new user that logs into the PC, will have his/her own new mapping to the printer.

@ECHO OFF

ECHO.
ECHO This script will (a) install the driver for a server-shared 
ECHO printer into a PC by UNC, and (b) set up a Scheduled Task 
ECHO to map that printer to any user at logon if they have 
ECHO permissions for that printer.
ECHO.
ECHO It has to be run as administrator, and it requires
ECHO two command line arguments:
ECHO.
ECHO first, a unique, optionally quoted, short name for the printer, 
ECHO used in the task name only; 
ECHO and second, the quoted UNC path of the printer.
ECHO.
ECHO If the unique name already exists in the system, 
ECHO it will be overwritten.  The short name can have no slashes.
ECHO.

:: 1. Get printer printer UNC path via command line.
::
:: 2. Install printer driver into PC.  This is done by a RUNDLL install of the printer to the administrator user,
:: and is one of two reasons this script has to be run as administrator.
:: Example:  rundll32 printui.dll,PrintUIEntry /q /in /n "\\machine\printer"
::
:: 3. Set up scheduled task, to be run at user logon and using user creds, to install the printer to the user profile.

:: First we do have to dequote the variables.
Set UniqueName=%~1
Set UNCpath=%~2

:: Step 1.
ECHO Printer to be set up: %UNCpath%
ECHO Using short name: %UniqueName%
ECHO.

:: Step 2.
:: Install the printer into PC as administrator.
ECHO Installing printer as administrator, to get driver in...
rundll32 printui.dll,PrintUIEntry /q /in /n "%UNCpath%"
ECHO.

:: Step 3.
:: Set up the at-login scheduled task...
ECHO Set up the at-login scheduled task...
Set RunString=%windir%\System32\rundll32.exe printui.dll,PrintUIEntry /q /in /n
echo Task will run: %RunString% %UNCpath%
schtasks /Create /F /SC ONLOGON /TN "%1" /TR "%RunString% \"%UNCpath%\""
ECHO.

ECHO Script completed.

Categories:      

==============

Windows network printer changes in CMD
article #1026, updated 2282 days ago

Very easy:

Quietly install a network printer – per user

rundll32 printui.dll,PrintUIEntry /q /in /n "\\machine\printer"

Quietly delete a named network printer – per user

rundll32 printui.dll,PrintUIEntry /q /dn /n "\\machine\printer"

Set default printer

rundll32 printui.dll,PrintUIEntry /y /n "\\machine\printer"

Quietly install a network printer – per machine

rundll32 printui.dll,PrintUIEntry /q /ga /n "\\machine\printer"

Quietly delete a network printer – per machine

rundll32 printui.dll,PrintUIEntry /q /gd /n "\\machine\printer"

Quietly delete a specific printer driver

rundll32 printui.dll,PrintUIEntry /q /dd /m "PrinterDriver"

Categories:      

==============

Fix Outlook in situ!
article #1228, updated 2283 days ago

At long last, as found by the astonishing Tharin Brown, we are given an Outlook repair tool that really works!!!:

https://www.howto-outlook.com/products/outlooktools.htm

Categories: