Trouble activating the state

It shows this error even though i have tried it uninstalling and reinstalling.
could any body help with this.

You’re trying to install using the State Tool while being the System ID? Your current working directory is the System32 folder, and that’s not going to work. The command isn’t intended to do what you think it will - you will not get a runtime that anyone on the system can use if you run the “state activate” command.

Use a normal userID. “activate” gives you no choice for where the runtime goes, and it gives you a single-user runtime that only that ID can use. The runtime will be installed into your personal AppData folder. (This is why using Admin fails). Only you will be able to use the runtime, but you cannot have a conflict with anyone else or a default version.