Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 10, 2014 7:48 PM
I am trying to change the following key using SCCM 2012 after a java install but it wont take the changes. If I run this from a start - run it works fine. If I push this as a program it works fine. Here is the command line I added to the SCCM 2012 task sequence Command line section : cmd.exe /c REG add "HKLM\SOFTWARE\JavaSoft\Java Plug-in\10.65.2" /v UseNewJavaPlugin /t REG_DWORD /d 1 /f
All replies (2)
Friday, October 10, 2014 7:50 PM âś…Answered | 1 vote
Try this, we use it successfully in ours. You dont need cmd.exe /c because reg is actually an executable, reg.exe.
%windir%\system32\reg.exe add HKLM\Software\OSD /t REG_SZ /v DeployedBy /d "%ImagedByUser%" /f
Daniel Ratliff | http://www.PotentEngineer.com
Saturday, October 11, 2014 12:54 PM | 1 vote
First (as mentioned by Daniel already) you don't need cmd.exe -- it's an exe so launching it from the command shell is unnecessary.
Next, where in the task sequence is this step executing?
Is the system a 64-bit OS?
What exactly does smsts.log say about the execution of this step?
Jason | http://blog.configmgrftw.com | @jasonsandys