Gerardo Grignoli

Results 154 comments of Gerardo Grignoli

Mmm, I don't understand. You say that if you run as admin: `%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\pwsh.ex` that one fails, but `the %PROGRAMFILES% one` works... Why do you have two? Did you install Pwsh...

Works for me using Powershell 7.3.2 from the store. Do exactly this and paste the differences. ![image](https://user-images.githubusercontent.com/3901474/216174691-935fba8c-9b35-4ea6-bcb4-418441fdaec4.png) Also, run cmd as admin, then run C:\Program Files\WindowsApps\Microsoft.PowerShell_7.3.2.0_x64__8wekyb3d8bbwe\pwsh.exe and paste the exact...

I apologize for not having time for gsudo lately. I need your help to find out is this is a problem on gsudo or on powershell. If your machine still...

It doesn't not work that way. When powershell finds the curly braces it parses it content as a scriptblock,, and encodes it in base64 before passing it to gsudo. ```...

Hi! So "Setting token failed" again. Same as #177 Can you please open Local Security Policy, navigate to Local Policies -> User Right Assignments, then right click on an empty...

I've never heard of `pure root for Windows` or `unsecure mode` as standard terminologies in the Windows ecosystem before. Could you please share some reading materials? If your objective is...

You have identified a bug in the `CacheDuration` config setting. You have set a cache duration greater than 24 days, which triggers this bug. You can reset the cache duration...

Hey, that was a fast response, check out I edited the OP... Ohh so you are calling it `sudo.exe`?, yeap that works too, the installers create aliases for `sudo`... If...

> The tricky thing that happens is that WSL2 users need to update the _windows_ side hosts file for best experience, so `sudo.exe` is used there in WSL2 to do...

Lol No! Notepad is terribly dumb! The trick is to start a process (call CreateProcess API) with parameter `Verb=RunAs` which is the official windows way to elevate the process. Here...