[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 663
  • Last Modified:

Logon script to install hotfix

I'm currently trying to create a login script that installs an MSP file on users machines. I have created a script to install the application and it appears to work locally without any issues, but when I try and add the script into the users AD profile it tells me that there is a problem with the installer package. I think the problem is with where the hotfix is stored on the server, so I would like to incorporate a copy function into the script that would copy the file to the local machine before running the script

Does anyone have any suggestions on how I might do this?
1 Solution
why not just add"
copy [msp file]  %TEMP%

and then run from that location?
Are you sure it is the location of the MSP and not administrator authorization that is at issue?

Users shouldn't have rights to install a hotfix. Use a startup script instead which runs under the localsystem account. Your script should have a way of checking to see if the hotfix has been successfully installed before trying to install it again.
MartynLawsonAuthor Commented:
Thanks for the suggestion. This worked great

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now