MartynLawson
asked on
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?
Does anyone have any suggestions on how I might do this?
try to use Psexec is a part of Pstools from Sysinternals. http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
(http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/c45b99c5-de8d-4f56-aecb-2d08a3e5f9f6/)
(http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/c45b99c5-de8d-4f56-aecb-2d08a3e5f9f6/)
Are you sure it is the location of the MSP and not administrator authorization that is at issue?
See:
http://msdn.microsoft.com/en-us/library/aa372388(v=VS.85).aspx
See:
http://msdn.microsoft.com/en-us/library/aa372388(v=VS.85).aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the suggestion. This worked great
copy [msp file] %TEMP%
and then run from that location?