使用dcu-cli.exe在远程系统上安装Dell更新 [英] Using dcu-cli.exe to Install Dell Updates on Remote System

查看:66
本文介绍了使用dcu-cli.exe在远程系统上安装Dell更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现我喜欢命令行 Dell Command | Update工具,名为 dcu-cli.exe 。我可以在远程会话中运行它,以admin身份运行CMD,并将其及其依赖项推送到目录中,并且运行良好。但是,但是希望能够使用psexec.exe来执行此操作,因为暂时在网络中禁用了PowerShell远程处理。

I found that I like the command line "Dell Command | Update" tool called dcu-cli.exe. I can run it in a remote session, run CMD as admin, pushd to the directory with it and its dependencies, and it runs great. But, but want to be able to do this with psexec.exe, since PowerShell remoting is disabled in the network for the time being.

当我与psexec运行时。 exe,我得到:

When I ran it with psexec.exe, I got:

Unhandled Exception:
 J:\CommandUpdate>System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
   at Dell.CommandUpdate.CLI.Program.ShowWorking()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

运行psexec时,这通常是我运行它的方式:

When ran psexec, this is how I usually run it:

psexec.exe -s \\计算机-nobanner cmd.exe / c将\\path\to\命令更新和dcu-cli.ex e

psexec 将在中使用我的管理员凭据cmd.exe 用于 -u -p

我的直觉是BIOS更新会抛出一个GUI框,询问管理员密码。为什么这样做呢?大声笑当它是一个命令行工具。无论戴尔。无论如何,如果那里的某个人知道如何在您是域管理员的网络中的远程系统上使用它,那真是太好了,所以我不必中断用户的工作流程即可为其安装驱动程序更新。完成后,我可以给他们发送电子邮件以重新启动计算机。

My hunch is that the BIOS update throws a GUI box asking for the administrator password. Why does it do that? LOL When it is a command line tool. Whatever Dell. Anyway, if someone out there knows how to use this on remote systems in a network where you are a domain admin, it would be great to know so I don't have to interrupt user's workflow to install driver updates for them. When done, I can just email them to restart their computer.

谢谢!

推荐答案

这也困扰了我好久了,直到我得出结论:

this bugged me for ages also until I worked out that this works:

cmd /c start /wait "" "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /log C:\ProgramData\Pearson\Logs

这篇关于使用dcu-cli.exe在远程系统上安装Dell更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆