Logon script to install hotfix

Posted on 2011-05-12
Last Modified: 2012-05-11
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?
Question by:MartynLawson
    LVL 20

    Expert Comment

    why not just add"
    copy [msp file]  %TEMP%

    and then run from that location?
    LVL 9

    Expert Comment

    LVL 20

    Expert Comment

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

    LVL 41

    Accepted Solution

    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.
    LVL 1

    Author Closing Comment

    Thanks for the suggestion. This worked great

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Are you having trouble running ADPREP on your current 32-bit Domain Controller? Have you ran ADPREP multiple times on your Domain but still get an error stating you have not prepared your Domain yet? Here is a change that gets even the most seaso…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now