#168756 - 2006-10-03 01:00 AM
Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
Hello,
I've looked around and I can't seem to find information on adding/removing software using kixtart. Does anyone know of any how-to's for this? What I need to do is remove Netop Remote Control from all of our computers, and install Crosstec Remote Control.
I want to be able to uninstall Netop Remote Control with a login script that has Administrative privilages. A lot of the computers on our network are down at different times during the day.
I'm going to deploy the new crosstec remote with Active Directory, GPOs and an MSI Package.
|
Top
|
|
|
|
#168757 - 2006-10-03 01:32 AM
Re: Add/Remove software with kixtart
|
Witto
MM club member
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
I think many consider it bad practice to use alternate credentials with admin privileges during logon. I have never done this, but I think you can use - KiXCrypt - Kix2Exe - AdminScriptEditor - ... You would pack the script together with the kix32.exe or wkix32.exe in an executable. The exe will unpack the script to a temp folder and launch it with the alternate credentials you provided. But at that very moment, your users would be able to catch that script and get your admin credentials.
|
Top
|
|
|
|
#168763 - 2006-10-03 05:35 PM
Re: Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
We have two version of Netop, 8 and 9. Only with 9 where they installed with MSI packages.... the others were just installed using a regular setup.exe file. Will this make a difference if I create a GPO to remove the netop 8 and 9?
|
Top
|
|
|
|
#168765 - 2006-10-03 07:46 PM
Re: Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
Ok thanks Witto. I am trying to use the latest Netop V9 MSI to uninstall the older versions.
|
Top
|
|
|
|
#168766 - 2006-10-03 10:01 PM
Re: Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
No luck with uninstalling using a GPO and MSI. This is what I tried....
Created a test workstation within the OU I am testing GPOs with. Install Netop 7.5 from a non msi setup. (This probably the case for a lot of workstations on our real network)
Added the Netop 9 MSI Package to the policy, and set to assigned. Added the new Crosstec MSI Package to the polciy, and set it to replace/upgrade Netop 9 Msi.
Crosstec installs, but nothing happens with the Netop Stuff. Is there anyway I could use a script that would just check for any versions of netop, and then uninstall them silently?
|
Top
|
|
|
|
#168768 - 2006-10-03 10:50 PM
Re: Add/Remove software with kixtart
|
Witto
MM club member
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
Les was talking about a Startup script. Not about a assigned installation. I think he was talking about something like described here: http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=137939&an=0&page=0
What I wanted to say was: I would first install the V8.exe on a workstation and see if I was able to remove it with the v8.msi as suggested by sealeopard. Not directly implement a GPO Installer Package. I am sorry if you misunderstood me.
|
Top
|
|
|
|
#168770 - 2006-10-04 10:20 AM
Re: Add/Remove software with kixtart
|
Witto
MM club member
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
Les, Maybe I am wrong but this is a quote from the link
Quote:
Computer Configuration/Windows Settings/Scripts (Startup/Shutdown) << This should be by machine
I thought startup scripts had to be defined there?
|
Top
|
|
|
|
#168772 - 2006-10-04 05:42 PM
Re: Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
So... I guess I am in a bad situation for this scenario.. We have multiple versions of netop on the workstations, and they were all installed different ways.. Looks like we will have to manually go to each site and remove the software from add/remove programs.
|
Top
|
|
|
|
#168773 - 2006-10-04 05:50 PM
Re: Add/Remove software with kixtart
|
Witto
MM club member
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
I just did a quick search on the board about startup scripts in policies. This was one of the first links I found. It helps to locate where they are situated. I never wanted to say that the text itself was about startup scripts. Sorry if I was not clear. There is other valuable info on the same link about startup scripts
Quote:
Note: a per-machine script (computer configuration - Startup/Shutdown) runs under SYSTEM context (meaning admin privs).
and
Quote:
But not network access unlesss SYSTEM is specifically granted network access, so I remember.
|
Top
|
|
|
|
#168775 - 2006-10-05 07:14 PM
Re: Add/Remove software with kixtart
|
wrender
Fresh Scripter
Registered: 2006-09-25
Posts: 22
|
Quote:
I think many consider it bad practice to use alternate credentials with admin privileges during logon. I have never done this, but I think you can use - KiXCrypt - Kix2Exe - AdminScriptEditor - ... You would pack the script together with the kix32.exe or wkix32.exe in an executable. The exe will unpack the script to a temp folder and launch it with the alternate credentials you provided. But at that very moment, your users would be able to catch that script and get your admin credentials.
Ok, Thanks again for all the info. Witto, I just wanted to comment on this security issue. I'm guessing when the script is decrypted before it is run, the script is then run in clear text? Is this really a big worry? The user would have to know exactly when and where to look to get the password, wouldn't they?
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
2 registered
(morganw, mole)
and 414 anonymous users online.
|
|
|