[W2K] PsExec MSI executen vanaf UNC-path

Pagina: 1
Acties:

  • ParoXysm
  • Registratie: November 2000
  • Laatst online: 05-05 21:44
Hellow,

Ik probeer momenteel een systeem op te zetten om applicaties remote te installeren op werkstations binnen een Windows 2000 Domain.

Ik ben ingelogd op een werkstation onder een domainadmin account en op een server staat een share met daarop een x aantal msi'tjes om applicaties te installeren.

Nu komt de barbatruuk:

als ik lokaal op de machine opgeef:
code:
1
msiexec /i \\server\applicatie\setup.msi

start de installatie netjes op.

Echter, als ik vanaf het werkstation waar ik als domainadmin ben ingelogd uitvoer:
code:
1
psexec \\Werkstation -i "msiexec /i \\server\applicatie\setup.msi"

krijg ik de volgende foutmelding:

1619 This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.

Als ik het goed begrijp zou op de remote machine msiexec toch echt als ge-impersonate domainadmin moeten uitvoeren, dus ook access hebben tot de share met applicaties. Maar helaas.
Alle voorbeelden die ik gevonden heb via google en consorten hebben het alleen maar over lokaal uitvoeren van bestanden, maar ik heb geen zin om iedere keer eerst een bat of cmd bestandje over te moeten pompen met daarin de uit te voeren meuk.

Any suggestions?

Specs


  • Krypt
  • Registratie: April 2000
  • Laatst online: 09-05 15:09
De msiexec draait nu onder het systemaccount van de machine, en waarschijnlijk heeft dit systemaccount geen rechten op die share.. Gooi eens Everyone op read permissions op die share en kijk of het dan wel werkt..

[edit]
Correctie:
If you omit a username the remote process runs in the same account from which you execute PsExec, but because the remote process is impersonating it will not have access to network resources on the remote system. When you specify a username the remote process executes in the account specified, and will have access to any network resources the account has access to. Note that the password is transmitted in clear text to the remote system
Draait dus onder hetzelfde account dat ingelogd is.. Je moet dus een username/password combi doorgeven wil het werken..

[ Voor 62% gewijzigd door Krypt op 09-03-2004 13:54 ]

Pvouput live


  • ParoXysm
  • Registratie: November 2000
  • Laatst online: 05-05 21:44
Rechten op die share stonden al op full_control everyone, zowel op share als NTFS niveau. En ook als ik aan PsExec -u domain\administrator meegeef maakt niets uit, geeft de zelfde foutmelding.

Specs


  • ParoXysm
  • Registratie: November 2000
  • Laatst online: 05-05 21:44
*stiekum klein kickje :X *

come on guys, ik zit echt vast!!!

Specs


  • elevator
  • Registratie: December 2001
  • Niet online

elevator

Officieel moto fan :)

En als je de source files op de desbetreffende PC's installeert, installeert? (de install source files moeten toch 1 maal over het netwerk)

  • Bolk
  • Registratie: Februari 2001
  • Niet online

Bolk

Change the equation.

Tis al gelukt hier. Zonder quotes in het UNC-path werkt het prima.

Ik bespeur hier een zekere mate van onethische logica.

Pagina: 1