Page 1 of 1
installation via AutoIt
Published: May 9, 2019 - 4:03 PM
by cdeze
Hello, were you able to install the agent with Autoit?
Personally, nothing happens
Code: Select all
FileCopy('\\10.72.x.y\netlogon\waptdeploy.exe', @TempDir & '\waptdeploy.exe')
local $pid = RunAs( $Username,$Domain, $Password,2,'"' & @TempDir & '\waptdeploy.exe --hash=62caede82fa3e2e1db67ffbf0e76d75302aa4e1958be789de2380d44e38cc279 --minversion=1.7.3.5 --wait=15"',@tem, @SW_SHOWDEFAULT)
Re: Installation via AutoIt
Published: May 9, 2019 - 6:41 PM
by dcardon
Hello cdeze,
cdeze wrote: ↑May 9, 2019 - 4:03 PM
Hello, were you able to install the agent with Autoit?
Personally, nothing happens
Code: Select all
FileCopy('\\10.72.x.y\netlogon\waptdeploy.exe', @TempDir & '\waptdeploy.exe')
local $pid = RunAs( $Username,$Domain, $Password,2,'"' & @TempDir & '\waptdeploy.exe --hash=62caede82fa3e2e1db67ffbf0e76d75302aa4e1958be789de2380d44e38cc279 --minversion=1.7.3.5 --wait=15"',@tem, @SW_SHOWDEFAULT)
If you repackage it like that, you might as well launch the waptagent.exe installation directly rather than launching waptdeploy.
But I'd be interested to know what use case you're trying to solve with this method? Is it to "embed" the local admin password in your executable? If so, it's not a wise choice, because anyone can retrieve it (and the same goes for tools like CPAU or similar).
Sincerely,
Denis
Re: Installation via AutoIt
Published: May 10, 2019 - 08:16
by cdeze
Yes, I know it's bad practice, but we don't have a GPO. And this installation method is only used for one day.
Thank you.
Re: Installation via AutoIt
Published: May 13, 2019 - 1:10 PM
by dcardon
Hello cdeze,
cdeze wrote: ↑May 10, 2019 - 08:16
Yes, I know it's bad practice, but we don't have a GPO. And this installation method is only used for one day.
If you still have a Samba3 OpenLDAP server in NT4 mode, Tranquil IT can help you upgrade to Samba-AD. If you're using a workgroup, it's more complex, but we also have extensive experience in domain migration/mergers to recover workgroups or consolidate domains.
In your case (no GPO), we use the following to push the agent depending on the situation:
* Antivirus software (several vendors offer the option to force the installation of an executable file)
* another inventory/deployment software already installed previously (such as the OCS client or the Fusion Inventory client)
* Administrative shares (IPC$/C$) if they are opened with psexec or equivalent (it's ugly but effective)
Sincerely,
Denis