Problem
You are denied access to any of the directories or paths to directories when copying icons or libraries. A warning message is raised in yellow and an error message in red indicates that an access error has been raised.
Solution
If the SPO Operating Plant node does not appear in the Web Site configured in SmartPlant Foundation Sites in the SmartPlant Foundation Server Manager Tree view, check that the Intergraph.SPOOP.ServerManager.dll and SPOOPServerManagerConfiguration.xml are in the Modules folder of Server Manager Directory. If they do not exist in the Modules folder, copy the files from the Operating Plant installation directory to the Modules folder.
While running copy.bat file "message Access is denied" appears for target directory C:\Program Files\SmartPlant\Foundation\2019\Icons
C:\Program Files\SmartPlant\SPX\Operating Plant\STs\Operating Plant>ECHO OFF
If targetDirectory is not specified, icons are copied to "C:\Program Files\SmartPlant\Foundation\2019\Icons"
""Copying files to "C:\Program Files\SmartPlant\Foundation\2019\Icons"
""C:\Program Files\SmartPlant\SPX\Operating Plant\STs\Operating Plant>copy "..\..\BPs\CMC\Configuration\Icons\*.*" "C:\Program Files\SmartPlant\Foundation\2019\Icons"
..\..\BPs\CMC\Configuration\Icons\SPXCHGClass.gif
Access is denied.
0 file(s) copied.
C:\Program Files\SmartPlant\SPX\Operating Plant\STs\Operating Plant>copy "..\..\BPs\MOC\Configuration\Icons\*.*" "C:\Program Files\SmartPlant\Foundation\2019\Icons"
..\..\BPs\MOC\Configuration\Icons\SPXFieldChangeRequest.gif
Access is denied.
0 file(s) copied.
C:\Program Files\SmartPlant\SPX\Operating Plant\STs\Operating Plant>pause
Press any key to continue . . .
Right click on folder Icons > properties > uncheck Readonly > Apply > choose option. Apply changes to this folder, subfolder and files > OK > OK