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
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.
You can try this workaround:
`$cred = Get-Credential "peanut"`
`Start-Process powershell.exe -ArgumentList "-NoProfile -Command
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.
Totally agree! It’s better to use an OS that’s fully supported.
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!
I tried running it, but I hit an error that says, 'A positional parameter cannot be found...'. What could that mean?
I’m trying to run Spicetify too, and it seems like it needs admin mode to work correctly.