Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No PowerShell usable to run the script #746

Closed
aaravlu opened this issue Jan 3, 2025 · 5 comments
Closed

No PowerShell usable to run the script #746

aaravlu opened this issue Jan 3, 2025 · 5 comments

Comments

@aaravlu
Copy link

aaravlu commented Jan 3, 2025

God, I just uninstalled Windows Powershell by a mistake completly in dir C:\Windows\System32.

It seems that reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "__PSLockdownPolicy" /f does not work.

What should I do to run the script successfully? PLEASE.

@aaravlu
Copy link
Author

aaravlu commented Jan 3, 2025

In the other word: Could somebody please pack your Windows Powershell in C:\Windows\System32 and send it to me?

Thanks in advance!

@awcator
Copy link

awcator commented Jan 3, 2025

@aaravlu
Copy link
Author

aaravlu commented Jan 3, 2025

consider installing powershell https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

It doesnot work, I need Windows Powershell instead of new Powershell.

@WindowsAddict
Copy link
Member

@aaravlu
https://gravesoft.dev/in-place_repair_upgrade

Do this to fix your system.

@aaravlu
Copy link
Author

aaravlu commented Jan 3, 2025

Thanks. But I am using a special windows version while I don't want to break it.

@aaravlu aaravlu closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants