The Internet of Things (IIoT) offers unprecedented possibilities for industries. Stay ahead with EcoStruxure™ Plant and Machine.Learn more
...with the EcoStruxure™ Facility Expert (formerly known as Facility Hero) app in hand! Discover how you can optimize your maintenance efforts today.Learn more
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
The story behind the Shedd Aquarium, a smart, sustainable facility that connects people to animals, with EcoStruxure™.Discover how
Welcome to the Schneider Electric Global Website×
Goals and Symptoms
This article provides some background information about the ncmodify script and workarounds to correct the Writing NCModify script error.
A PEGASYS installation stops with the error message "ERROR (-1) Writing ncmodify script".
Facts and Changes
Causes and Fixes
The installer runs the NCModify script to add the software nodes of the client machine to the netconfig.dat on the primary machine.
When installing PEGASYS on a client machine, the call to the NCModify script sometimes fails.
Try to edit and save the ncmodify script file, which is found at the following location: \\<PEGASYS_SERVER>\PML_PEGASYS\config\cfg\network\<PEGASYS_SERVER>_NCModify.script
You must resolve any Read/Write access problems before proceeding with the PEGASYS installation.
You can also try to save this new file under a different name and manually use the NCModify executable file found in \\<PEGASYS_SERVER>\PML_PEGASYS\system\bin to change the netconfig.dat.
The original NCModify.script text file can be manually edited to add the new workstation and all software nodes to be installed on it.
NCModify is a console application that lets you view and modify network configuration files.
ncmodify [options] [script_file1 script_file2 ... script_fileN]
Where options are:
-h: print help
-v: verbose mode-f<filename>: specify network configuration file name
Sign up for all the latest solutions, offers and best practices straight to your inbox.
We are excited that you have joined the group. You will receive your welcome email soon describing the program and what to expect in the upcoming weeks. Enjoy!