Node red transfer to new windows 11 pc

I have a working node red application and I like to transfer that application to a new computer.
I made the setup of my second pc like on my first computer, node red and mqtt is working.
Now I copied the full map .node-red to my second computer, but I don't see any nodes on my second pc.

What do I still have to do?

Copying the ~/.node-red folder and restarting node-red should be enough.

Check Node-RED's log for any errors.

Strange, I used the default settings.js settings and didn't change anything.

The log is pointing to users/benny/.node-red as default directory.
I imported all the flows and deployed it. Just to see what node-red is doing.
Everything is written to de map => c:/Windows/System32/config/systemprofile/.node-red/ and not the c:/users/benny/.node-red

Ah, are you running Node-RED as a service by any chance?

This is one of the reasons that I don't install Node-RED globally but instead always install node-red to a local folder and set the userDir folder to be a sub-folder. My alternate installer does that in case you are interested - you can find it on my GitHub.

Yes , it is as a service running.
Thanks I have a look.

You may need to be more explicit in the service settings to pass the correct folder. However, do watch out. What user are you running Node-RED as - looks like you are using the SYSTEM user. Check what access that has and whether that is really appropriate. The SYSTEM user typically has access to everything on the server, that can be quite dangerous.