I have a question. I am using this PSS in VSC and it works fine. But if i run the PSS outside VSC it doesn’t work. Maybe someone knows what kind of issue i am confronted with.
PSS = PowerShellScript (sorry the files are name.ps1, my fault, i will avoid the shortcuts).
That’s the problem I don’t know why it doesn’t work. If i run the script in VSC Editor the Registry will be changed in Delimited(;). But if i run the script via PS Editor nothing happens and i get no error message or something like that and nothing is chaning in the registry.
I set the script into a gpo for the computer, so no admin right is necessary for the nt-authority. but you are right, and i forget that i changed my settings for VSC to always run as admin. i placed it in the starting sequence. I guess, because my laptop in homeoffice will not start in the domain network, the script will not run. but it’s just a guess. thanks for your help.
Yeah it’s a bit overhead but i wan’t to check in beforehand if the delimiter is set or not and if the registry even existis. i guess i can deploy the registry by gpo.