How Can use "WMIC" for run a Windows program via Linux?
Hello Dears.
I installed "WMIC" in Debian and I want to run a windows program via it. For example, I copy "dd.exe" in "c:\Windows" directory and run it via "WMIC". Thanks. |
This may help: http://www.krenger.ch/blog/wmi-commands-from-linux/
According to the link, you can use WMIC to run commands remotely on a Windows host computer, but not natively on a Linux computer. |
Thank you but what is your opinion about "Winexe" ?
|
When I want to use Winexe, It show me an error :
"[winexe/winexe.c:120:on_ctrl_pipe_error()] ERROR: Failed to install service winexesvc - NT code 0x00000424" |
I have never used Winexe, so I have no opinion.
|
How can I go to "CMD.exe" via wmic?
|
Depending on exactly what you need to do, maybe rpcclient (or other tools) from Samba would do the job?
|
$ rpcclient —U <username> <WinIPaddr>
Show below error : Cannot connect to server. Error was NT_STATUS_LOGON_FAILURE |
All times are GMT -5. The time now is 10:57 PM. |