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

Running a batch on a network disk using Minsudo will prompt “CreateProcessW call failed” #14

Open
kidzgy opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kidzgy
Copy link

kidzgy commented Sep 13, 2024

标题:在网络磁盘运行批处理使用Minsudo会提示 "CreateProcessW 调用失败"

Place the minsudo file on your desktop, in my case the program path is “D:\Personal\Desktop\MinSudo.exe”.
将minsudo文件放置于桌面,就我而言程序路径是"D:\Personal\Desktop\MinSudo.exe" 。

Paste the following into a batch process. This batch is placed on a local disk and a network disk. By network disks, I mean disks that are mapped by adding a network location in Windows Explorer, such as a NAS, or disks created by Raidrive.
将下文内容粘贴进一个批处理。这个批处理分别放置于本地磁盘和网络磁盘。我所说的网络磁盘是指,Windows资源管理器内添加网络位置而映射的磁盘,比如NAS,或者通过Raidrive生成的磁盘。

"D:\Personal\Desktop\MinSudo.exe" --TrustedInstaller --Privileged --NoLogo  reg delete "HKCR\Directory\Background\shell\OpenCMDHere" /f
"D:\Personal\Desktop\MinSudo.exe" --TrustedInstaller --Privileged --NoLogo  cmd /c reg delete "HKCR\Directory\Background\shell\OpenCMDHere" /f
pause

20240913114445
20240913114425

As you can see from the two pictures, disk Z is my network disk drive letter and disk D is my local disk drive letter.
可以从两张图片看到,Z盘是我的网络磁盘盘符,D盘是我本地磁盘盘符。

The same batch process, run with different results.
同一个批处理,运行的结果是不一样的。

software ver: MinSudo 1.0 Preview 3 (Build 92)
system ver: win10 (10.0.19044.1741) x64

@MouriNaruto MouriNaruto added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants