-
-
August 14, 2023 at 3:43 am
Patrick Guerrisi
SubscriberHi
We use SCCM ( now known as MECM) to deploy software to our staff and computer labs. SCCM uses the SYSTEM account when it installs
However when installing as system it throws up the following error :
The commandline I am using is:
ansys-rockybundle-bin-22.2.X-win64.exe /SILENT
There is another post about this exact issue but the response given is not the solution:
Rocky installation under the SYSTEM account fails (ansys.com)
When I run the install command with my user account with administrator privileges it installs without error
Can anyone provide a solution why this error is showing when installing as system?
-
August 22, 2023 at 2:33 pm
Mangesh Bhide
Ansys EmployeeHello,
As indicated in the initial response in the post you referenced, please include the target directory with the DIR= flag.
Secondly, the error Failed to expand shell folder userdesktop seems to be a generic error seen by many installers.
Please see if any of the suggestions on this webpage are also helpful to you
https://www.reddit.com/r/SCCM/comments/kvsfvr/failed_to_expand_shell_folder_constant/?rdt=34733 -
August 29, 2023 at 10:06 am
Patrick Guerrisi
SubscriberHi
Thanks for the reply
I added the Path switch to the install string and looks like the mapped drive error has stopped popping up but I am still getting the the error Failed to expand shell folder userdesktop
I have added the suggestion from that thread but it hasnt worked
Here is my install string:
ansys-rockybundle-bin-23.1.1-win64.exe" "/DIR=C:\Program Files\ANSYS Inc\v231\Rocky" /VERYSILENT /MERGETASKS="!desktopicon"
Screenshot:
-
August 29, 2023 at 12:42 pm
Mangesh Bhide
Ansys Employeeas mentioned earlier, it appears that the shell setup runs under is unable to expand userdesktop
perhaps in your install.cmd you can test by adding a line like below beffore the line for silent setup (assuming c:\temp exists)
set userdesktop=C:\temp\
if this works, you will need to see if anything got written to the c:\temp folder
I suspect it is trying to create desktop icons but unable to locate or unable to access whatever userdesktop is pointing to
this is an experiment, hope it helps find the root cause.
-
August 29, 2023 at 11:47 pm
Patrick Guerrisi
SubscriberHi
Thanks for the reply again
I was able to do a regular manual install with the parameter /saveinfo and unchecked all the desktop icons. This resolved the problem with the "failed to expand Shell Folder Constant "userdesktop" error I was getting
I have been testing this on a VM with Windows 10 on it
I still get the original error even with setting the directory install location which is strange
See below what my install string is and that error that keeps showing at the end of the install ( as system account )
The process exe is named Fluent_coupling.exe
I could just kill that process at the end.
Install string used is:
"ansys-rockybundle-bin-23.1.1-win64.exe" "/DIR=C:\Program Files\ANSYS Inc\v231\Rocky" /VERYSILENT /LOADINF="%~dp0Rocky_params.inf"
-
August 30, 2023 at 6:11 pm
Mangesh Bhide
Ansys EmployeeHello,
I used a test machine with Rocky 2023 R1 not installed. downloaded and unzipped the Rocky 2023 R1 update with full package .zip file and extracted to the path you are using
I also used the command line as shown. Rocky installed in minutes without any errors
I am not sure where the references to K and W drive are coming from. Please check the system's path and other environment variables if it is runnign python from those locations. perhaps try unsetting those portions of the path / environment ?
What else is being done in the .inf file ?Are you also trying to install the Fluent export plugin ?
hope this helps
-
August 30, 2023 at 10:54 pm
Patrick Guerrisi
SubscriberDid you use psexec to install via the system account?
If not that would be why you get no error
I've tried on multiple machines and even with a brand new Frehley imaged window 10 install and when I use the system account I get that error at the end
-
September 15, 2023 at 3:37 pm
Mangesh Bhide
Ansys EmployeeHello
I did not use psexec. what account is psexec running as ? Are W and K drives mapped for other users, but not for the user that psexec runs as ?
also I did not hear on which options are in the .inf file
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- License Error
- Error with workbench SceneGraphChart
- Sizing on Ansys Workbench 19.2
- Workbench not opening
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Workbench error
- how to open DesignModeler
- FlexNet Licensing – Not running
- Problem with FlexNet Licensing
- An error occurred when the post processor attempted to load a specific result.
-
7742
-
4502
-
2961
-
1449
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.