IP./winexe -U '<YourUser>%<YourPass>' //<YourClient> 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
Code: Alles auswählen
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'Administrator%PWLokal' //10.2.50.102 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
dos charset 'CP850' unavailable - using ASCII
c:\tmp\opsi-client-agent_inst konnte nicht gefunden werden
not found
Das System kann die angegebene Datei nicht finden.
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'domain.de\\Administrator%PWDomain' //10.2.50.102 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
dos charset 'CP850' unavailable - using ASCII
ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE
Code: Alles auswählen
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'domain.de\\Administrator%PWDomain' //10.2.50.102 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
dos charset 'CP850' unavailable - using ASCII
ERROR: Failed to open connection - NT_STATUS_LOGON_FAILURE
Code: Alles auswählen
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'Administrator%PWLokal' //pc1038 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
ERROR: Failed to open connection - NT_STATUS_IO_TIMEOUT
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'domain.de\\Administrator%PWDomain' //pc1038 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
ERROR: Failed to open connection - NT_STATUS_IO_TIMEOUT
Code: Alles auswählen
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'Administrator%PWLokal' //pc1038.domain.de 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
ERROR: Failed to open connection - NT_STATUS_NO_MEMORY
user@opsi:/var/lib/opsi/depot/opsi-client-agent$ ./winexe -U 'domain.de\\Administrator%PWDomain' //pc1038.domain.de 'cmd.exe /C "del /s /q c:\tmp\opsi-client-agent_inst && rmdir /s /q c:\tmp\opsi-client-agent_inst || echo not found"'
ERROR: Failed to open connection - NT_STATUS_NO_MEMORY
wäre super!Hallo,
sofern ich mich erinnere klappt der Deploy über IP noch nicht.
Ich bin gerade an dem Script und werde mal versuchen das auch möglich zu machen.
Gruß
Niko
\\pc841\c$ und auch \\pc841.domain.de\c$ funktioniert ohne ein Problem.Funktioniert das auch wenn du per Windows-Explorer auf \\client-hostname\c$ ????