Hello,
You may not have sufficient permissions to do that.
Press CTRL+ALT+DELETE, click Start Task Manager, click More Details, click File, click Run, and then type cmd /admin.
Now, you're running CMD as administrator.
Retry the previous steps to set the static IP address. If the problem persists, run the "netsh int ip" command to set static IP address.