29 November 2018
Thank you for your reply.
I opened %appdata%\ansys\ANSYSLI_DEMO_PORT with notepad, the file had default value of 0 only. I changed it to 2 and then save it. After saving I re-opened the file to check if the modification is still there or not, and the file had the value of 2 after re-opening. So the modification and able to save or not both are ok.
After modification I ran ANSYS, when ANSYS opened I had the same error. I checked the file which I modified earlier, the modification was gone and it again had the value of 0.
For the CMD commands the results are as under;
for set t I had the following output,
for set appdata I got the following output,