Go2Engle / PoGoMap-GUI

Small GUI for PokemonGo-Map
GNU Affero General Public License v3.0
19 stars 5 forks source link

No Windows power shell in local group policy editor (gpedit.msc) #14

Open AsianJew12 opened 8 years ago

AsianJew12 commented 8 years ago

I'm having this error `Set-ItemProperty : Cannot find path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell' because it does not exist. At line:1 char:1

and as said at the manual, im supposed to do something at the windows powershell but it doesn't appear in mine, any help?

Go2Engle commented 8 years ago

I would do some google searching on this. Seems like an issue with the PC and not the application. I would do some searching but I'm at work right now ahh =/

mykill18 commented 8 years ago

same here

dr-antivirus commented 8 years ago

`Set-ItemProperty : Cannot find path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell' because it does not exist.

You have to create the key manually in registry editor. It's a long process, creating the key is just 1 step of this. Unfortunately I can't explain more now (I have to study for exams) but I'll be back in a few days if your issue won't have been resolved until then.

dr-antivirus commented 8 years ago

Well nevermind Run "regedit"

(I had to do this, but with many other steps so not sure which step is the one who made PowerShell recognized and unrestricted. By the way I could never see Powershell in gpedit.msc, and I didn't need it. Manually allowing the scripts to run via programming code made the job for me.)

Go2Engle commented 8 years ago

Awesome find! Is it ok If I close this then? I can reference in the future if anyone else has the issue.

dr-antivirus commented 8 years ago

It would be better to let the OP give us feedback before closing it. We may need more steps to fix it 100%

Go2Engle commented 8 years ago

Woops didnt even realize you weren't the OP. My bad.

mykill18 commented 8 years ago

Same issue here, thanks for the help but it didn't resolve my problem,i still got the same error, plus it seems that i dont have "windows powershell" folder in gpedit.msc: Computer Configuration > Administrative Templates > Windows Components > Windows PowerShell

dr-antivirus commented 8 years ago

Same issue here, thanks for the help but it didn't resolve my problem,i still got the same error, plus it seems that i dont have "windows powershell" folder in gpedit.msc: Computer Configuration > Administrative Templates > Windows Components > Windows PowerShell

Nobody seems to have Powershell in gpedit.msc (including me, but I made it work without needing to edit Powershell in gpedit.msc options) You have to manually allow powershell Scripts to run. After doing what I told you in the previous comment:

mykill18 commented 8 years ago

Thank you very much! it worded!!!

dr-antivirus commented 8 years ago

Glad it helped :)