AKUK

updated

4 years ago

A

AKUK

1 Rookie

•

11 Posts

0

5366

September 9th, 2022 01:00

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

  • Cryshii

    2 Posts

    3108

    1

    Posted September 12th, 2022 21:00

    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.

  • AKUK

    1 Rookie

    •

    11 Posts

    3104

    0

    Posted September 13th, 2022 01:00

    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.

  • 3092

    0

    Posted September 13th, 2022 02:00

    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.

  • AKUK

    1 Rookie

    •

    11 Posts

    3091

    1

    Posted September 13th, 2022 02:00

    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.

  • AKUK

    1 Rookie

    •

    11 Posts

    3100

    0

    Posted September 13th, 2022 02:00

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

  • AKUK

    1 Rookie

    •

    11 Posts

    3083

    0

    Posted September 13th, 2022 03:00

    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.

  • 3086

    0

    Posted September 13th, 2022 03:00

    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...

  • cmendesvdl

    1 Rookie

    •

    19 Posts

    •

    3 Points

    1835

    0

    Posted December 21st, 2022 14:00

    is this still an issue with v4.7?

  • Cryshii

    2 Posts

    1830

    0

    Posted December 21st, 2022 20:00

    I checked, but
    Same for v4.7.1.

  • cmendesvdl

    1 Rookie

    •

    19 Posts

    •

    3 Points

    491

    0

    Posted February 2nd, 2023 01:00