How can I run a PowerShell command without admin privileges in Atomic11?

0
10
Asked By CleverPenguin42 On

I'm currently using the latest version of Atomic11, a custom Windows OS, and I'm facing a problem where PowerShell always runs in administrator mode. I need to execute a command specifically without admin rights. I've tried various methods and even consulted with ChatGPT, but nothing seems to help. Could anyone share their insights or solutions?

4 Answers

Answered By CommandWhiz On

What specific command are you trying to execute? Generally, most commands don't need admin rights to run. If you're working with something like Spicetify for Spotify customization, it might be necessary to be elevated, but let's figure out what's needed.

SoundExplorer74 -

I’m trying to run Spicetify too, and it seems like it needs admin mode to work correctly.

Answered By ScriptingNinja On

You can try this workaround:
`$cred = Get-Credential "peanut"`
`Start-Process powershell.exe -ArgumentList "-NoProfile -Command

Answered By TechGuru99 On

Honestly, if you're struggling with a custom OS like Atomic11, maybe it’s time to reconsider your setup. You’re running something that's not quite Windows, and it may be causing compatibility issues. If you want a smoother experience, installing a genuine version of Windows 11 could be the way to go.

CuriousCat123 -

Totally agree! It’s better to use an OS that’s fully supported.

Answered By SystemFixer88 On

I found that sometimes, running PowerShell with specific commands can throw errors if it’s not structured properly. Make sure your command doesn’t have position errors. If you’re trying something like `iwr` (Invoke-WebRequest), double-check your syntax and arguments. If PowerShell keeps wanting to run as admin, you might want to verify your user privileges and settings as well. Just so you know, the command should typically be structured correctly to avoid issues!

ErrorHandler42 -

I tried running it, but I hit an error that says, 'A positional parameter cannot be found...'. What could that mean?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.