Althought I hate to do it, it is probably much easier to put it in a task 
sequence and do a run-as. Just note you will not be able to deploy to user's at 
this point only systems.

Daniel Ratliff

From: [email protected] [mailto:[email protected]] On 
Behalf Of Trevor Sullivan
Sent: Thursday, September 18, 2014 5:10 PM
To: [email protected]
Subject: RE: [mssms] Install MS Visual Studio 2013 during SCCM OSD TS

Sander,

You could use a wrapper script, written in PowerShell, to launch the process 
under a different user context. I haven't tried this before, but it's 
theoretically possible. Of course, embedding a credential in a script isn't a 
recommended configuration, but it may work.

Use the Start-Process command with the -Credential parameter.

Cheers,
Trevor Sullivan
Microsoft PowerShell MVP
[cid:[email protected]]<http://mms.mnscug.org/>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Sander Groen
Sent: Thursday, September 18, 2014 6:55 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] Install MS Visual Studio 2013 during SCCM OSD TS

Hi Trevor,

Thanks for your reply. I'm amazed that this issue has not been addressed yet. 
Have you been able to use some kind of workaround?

Best regards,

Sander

Van: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] Namens Trevor Sullivan
Verzonden: donderdag 18 september 2014 01:24
Aan: [email protected]<mailto:[email protected]>
Onderwerp: RE: [mssms] Install MS Visual Studio 2013 during SCCM OSD TS

Sander,

If I recall correctly, the Visual Studio 2013 package (including the Express 
Editions) has an issue where it does not successfully installed under the Local 
System context. I ran into a similar problem when deploying this package using 
PowerShell Desired State Configuration (DSC).

Cheers,
Trevor Sullivan
Microsoft PowerShell MVP
[cid:[email protected]]<http://mms.mnscug.org/>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Sander Groen
Sent: Wednesday, September 17, 2014 4:45 AM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] Install MS Visual Studio 2013 during SCCM OSD TS

Hi All,

I'm trying to install Microsoft Visual Studio 2013 (premium) as an application 
during an OSD task sequence. Whatever I try it fails! I have seen people 
struggling with the same issue but no one seems to have a solution.

The error in the log file is: ExecuteError: Package (vs_professionalcore) 
failed: Error Message Id: 26403 ErrorMessage: Error 26403.Failed to add user to 
group.  (-2147463168   SYSTEM   Performance Log Users   )

The application installation is fired off during the install applications step 
in my TS and is using the SYSTEM account to install. The VS 2013 installer 
eventually wants to add the installation user account (=system) to the group 
Performance Log Users and fails.
This problem even occurs with the newest installation media which includes VS 
2013 update 3. I tried tricking it to install via a command line using the run 
as account but it doesn't work. (Even with UAC off). Installing the application 
as an admin user gives no problem at all. Trying to add the system account to 
the Performance Log Users group before installing VS 2013 also makes no 
difference. The only option I have is to install it after the OSD TS has 
finished and deploy it as a regular application. (Of course run the 
installation  as user).

Anyone else having the same problems and perhaps have a nice workaround?

Thanks!

Best regards,

Sander





The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


Reply via email to