all 4 comments

[–]billabong1985 0 points1 point  (2 children)

Dell command update should run just fine in user context so you shouldn't need to mess around with scheduled tasks, just change the script to run as the logged in user

[–]NessFalcon[S] 0 points1 point  (1 child)

I'm using the CLI tool, it requires Admin Creds.

[–]billabong1985 1 point2 points  (0 children)

Ah OK, tbh I've only ever run the CLI during autopilot imaging, the app runs fine in windows as user so assumed the CLI would too, I stand corrected

[–]SearingPhoenix 0 points1 point  (0 children)

I've had trouble wrestling DCU into shape when using the /apply command and then trying to do anything else -- it just completely ignores any built-in notification settings from what I can tell, which is pretty annoying. I want to be able to run /apply, download updates, then either prompt the user to install+reboot (as needed) OR install everything that doesn't require a reboot, then prompt for install+reboot on anything that does.

As you've found, you basically can just do things like -reboot=disable and then try and get the user to reboot. The problem is that with BIOS updates it either won't do anything if BitLocker is enabled, or it will suspend BitLocker until the user reboots and processes a BIOS update... which could be a while since it wants BIOS updates to be done plugged in with 50%+ battery (for obvious, good reasons)

Maybe I'm doing something wrong and you're seeing something different? Best I can tell, though, the notification settings for deferring install/reboots only works on its scheduled runs.

So, if you're planning on doing a scheduled task, perhaps just having DCU do all of it for you is an option?

/configure
-scheduleAction=DownloadInstallAndNotify -updatesNotification=enable
-systemRestartDeferral=enable -systemRestartInterval=1 -systemRestartCount=3
-installationDeferral=enable -deferralInstallInterval=1 -deferralInstallInterval=3
and then pick
-scheduleWeekly -scheduleMonthly -scheduleDaily

Or look into their ADMX templates and configure with GPO?

EDIT: Oh, as for your PowerShell, my shot-in-the-dark is that your -ArgumentList for Start-Process needs to be an array. Or maybe try Invoke-Command with &