Hi Gary and welcome,

Error 87 means that "the Parameter is incorrect"
But as you state, that Printers are being connected on the second logon or by starting Office 365, I assume that you have some Default Network logon 'optimizations' at work that often do no good \:\)

You may try to set GPOs either for
"Always wait for the network at computer startup and logon"
or
"Run logon scripts synchronously"
(Alltough the latter might not work with mandatory profiles. Can't verify at the Moment)

hth

Jochen


Edited by Jochen (2019-09-16 04:25 PM)
_________________________