Productivity Software

Last reply by 02-10-2023 Solved
Start a Discussion
2 Bronze
2 Bronze
2888

Dell Command Update 4.6.0 - dcu-cli auto update config scripts not working

Hi, I am having trouble configuring auto-updates by script since upgrading to 4.6.0. I am using the normal installer rather than the universal app.

I spent a while getting 4.5.0 configured using the reference guide as no matter what I did, the "-scheduleWeekly=Fri,16:15" command would fail so I ended up using "-scheduleAuto".

Now that 4.6.0 is released, I can't seem to get my configs to apply at all, the PS script runs but the program settings are not updated and show they are set to notify only.

Has anyone else had issues or have tips on how to get this to work? I have searched but can't find others with the same issue. Thanks

I am running:

"C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /configure -scheduleAuto -autoSuspendBitLocker=enable -lockSettings=enable -scheduleAction=DownloadInstallAndNotify -outputLog="C:\Temp\DellCommandScanOutput.log" -systemRestartDeferral=enable -deferralRestartInterval=1 -deferralRestartCount=2 -userConsent=disable -updatesNotification=enable -scheduledReboot=60

Solution (1)

Accepted Solutions
2 Bronze
2 Bronze
2537

Hi, AKUK.

 

I had the same symptoms.
As a solution,
I had to run "-scheduleAction=DownloadInstallAndNotify" first.

------------------

example

1st

~ /configure -scheduleAuto -scheduleAction=DownloadInstallAndNotify

2nd

~ /configure -installationDeferral=enable -deferralInstallInterval=1 -deferralInstallCount=2 -systemRestartDeferral=enable -deferralRestartInterval=1 -deferralRestartCount=2

------------------

Also, the "-scheduledReboot" option was not available. Default is 5 minutes.

View solution in original post

Replies (14)
2 Bronze
2 Bronze
2538

Hi, AKUK.

 

I had the same symptoms.
As a solution,
I had to run "-scheduleAction=DownloadInstallAndNotify" first.

------------------

example

1st

~ /configure -scheduleAuto -scheduleAction=DownloadInstallAndNotify

2nd

~ /configure -installationDeferral=enable -deferralInstallInterval=1 -deferralInstallCount=2 -systemRestartDeferral=enable -deferralRestartInterval=1 -deferralRestartCount=2

------------------

Also, the "-scheduledReboot" option was not available. Default is 5 minutes.

2533

Thanks for the tip, will give that a shot today Hopefully Dell can either fix the program or update their reference guide as this has been a nightmare.

2529

Worked perfectly! I amended my script to configure the program twice and the settings now apear. Thanks again

2 Bronze
2 Bronze
2521

Yeah, having the same issue. They managed to mess the one thing that was working all these years...  They don't test new releases at all it seems, and they don't even bother to update the reference guides properly...

So, the only solution for now is to run two scripts instead of one.. Great stuff DELL

I tried to dig in bit more and according to the logs, the error is Invalid schedule action,  while using -scheduleAction=DownloadInstallAndNotify first. I tried to change it to ScanDownloadApplyNotify, which I got from exported settings, just to see if they completely changed the tags without updating the reference guide, but that didnt help either.

But I can also confirm @Cryshii solution works.

2520

Infuriating that they introduced the issue as this is one of the most important features for deployment at scale but you don't need two scripts. I just added an extra line to my existing script so that it configures the app twice in a row.

2515

Ah ok you're right, just making it as extra line does indeed work. Thanks.

I just hope someone from the dev team sees this. Is there a way to contact responsible guys somehow? I don't have direct DELL contact sadly...

2512

I'm not sure how to report it. I posted about this on reddit in the sysadmin sub when 4.6.0 was released but only had one reply. The chocolatey page for the app has no info in the comments, glad I posted on here but wasn't holding out hope.

2 Bronze
2 Bronze
1262

is this still an issue with v4.7?

1257

I checked, but
Same for v4.7.1.

Latest Solutions
Top Contributor