Comments (21)
@rcmaehl just solved same issue for myself - issue was in incorrect powershell.exe 0Kb binary in C:\Windows\System32\powershell.exe
(found by cmd.exe -> where powershell.exe)
And, most likely, its why powershell in your example above for user did fail too.
Found discussion https://stackoverflow.com/questions/34912830/windows-8-1-cant-start-powershell-from-a-cmd-or-powershell-prompt-this-app-c
I believe you can firstly just try to call powershell.exe
without parameters and if it fails then call it by absolute path C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
from whynotwin11.
We've moved away from powershell completely. So this can be resolved as a result.
from whynotwin11.
Me too, secure boot status detection is inaccurate
from whynotwin11.
I'm going to assume this is some issue with Localization.
Can you all try Get-Partition -DriveLetter C | Get-Disk | Select-Object -Property PartitionStyle
as well?
from whynotwin11.
I'm going to assume this is some issue with Localization.
Can you all try
Get-Partition -DriveLetter C | Get-Disk | Select-Object -Property PartitionStyle
as well?
from whynotwin11.
Needs to be ran as one command
from whynotwin11.
from whynotwin11.
Odd
from whynotwin11.
I have this problem too, I have a GTP system drive and two other MBRs.
from whynotwin11.
I'll need to install a few locales and language packs to try to reproduce this. It seems to mainly occur on Non-English Systems.
from whynotwin11.
May be failures to read the temp file.
from whynotwin11.
May be failures to read the temp file.
Good point. Boot Method is failing as well. Odd
from whynotwin11.
The dxdiag file seems to be working, the obvious difference being the way it's defined.
Maybe try:
$hFile = _TempFile(@TempDir, "wnw11")
@ WhyNotWin11.au3 line 176
from whynotwin11.
Can you all run the file in the attached zip?
Test.zip
from whynotwin11.
Can you all run the file in the attached zip?
Test.zip
from whynotwin11.
I'll need to install a few locales and language packs to try to reproduce this. It seems to mainly occur on Non-English Systems.
Maybe not necessarily this problem, because your software is very useful in coolapk, a Chinese community, like me, which is actually in the minority.
from whynotwin11.
@maksimus256 @MisakaSakura
Can you all run the file in the attached zip?
Test.zip
Means powershell output is failing 😞 , Doesn't even create an output file.
from whynotwin11.
Same issue here. System Locale is "German (Germany)".
from whynotwin11.
Can you all run the file in the attached zip?
Test.zip
from whynotwin11.
@rcmaehl
Two thoughts:
- It may be good to define encodeing in Powershell and AutoIt to avoid encoding bugs.
- It may be good to use
-Force
in Powershell for overwrite read-only files. - With
(command).Property
you get the value insted the table. Ex:(Get-Partition -DriveLetter C: | Get-Disk | Select-Object -Property PartitionStyle).PartitionStyle
- You sould add
-ExecutionPolicy Bypass
to all Powershell commands.
from whynotwin11.
@rcmaehl just solved same issue for myself - issue was in incorrect powershell.exe 0Kb binary in
C:\Windows\System32\powershell.exe
(found by cmd.exe -> where powershell.exe)
And, most likely, its why powershell in your example above for user did fail too.
Found discussion https://stackoverflow.com/questions/34912830/windows-8-1-cant-start-powershell-from-a-cmd-or-powershell-prompt-this-app-c
I believe you can firstly just try to callpowershell.exe
without parameters and if it fails then call it by absolute pathC:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
If this fixes it, I swear
from whynotwin11.
Related Issues (20)
- Update _GetDiskInfoFromWmi.au3 to v1.4.2 HOT 1
- Move Gui including into
- Minor typo in "Supported" message HOT 1
- Missing check on Developer Mode
- Update the supported processors HOT 4
- Updated Slovenian translation for WhyNotWin11 version 2.5.0.4
- Show if system drive is SSD or HDD HOT 1
- WhyNotWin12? HOT 1
- Update supported processor lists (article date: 2023/05/25) HOT 1
- Account for EFI partition size
- Command-Line HOT 2
- Getting not eligible for 30 days message with all results green HOT 4
- Missing Company Name in WhyNotWin11.exe Digital Certificate Causes Issue with Software Updater HOT 3
- Windows Security detects trojan HOT 4
- Add POPCNT CPU instruction check for Windows 11 Version 24H2. HOT 1
- List of Threadrippers incomplete? HOT 5
- GUI issues / improvemnts HOT 1
- Please add support for new supported Intel CPU's HOT 5
- security.txt : current date above Expires HOT 1
- small improvement to storage check HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whynotwin11.