Here’s what more than 2,500 business decision-makers around the world say.Download the report
...with the 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
Everything you need to know about our IoT technology backbone.Learn more
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