Code Monkey home page Code Monkey logo

Comments (21)

SaltyMonkey avatar SaltyMonkey commented on August 15, 2024 2

@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.

rcmaehl avatar rcmaehl commented on August 15, 2024 1

We've moved away from powershell completely. So this can be resolved as a result.

from whynotwin11.

MisakaSakura avatar MisakaSakura commented on August 15, 2024

Me too, secure boot status detection is inaccurate
image
image
image

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

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.

MisakaSakura avatar MisakaSakura commented on August 15, 2024

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?

For your proposal.
image

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

Needs to be ran as one command
image

from whynotwin11.

MisakaSakura avatar MisakaSakura commented on August 15, 2024

Needs to be ran as one command
image

Obviously it's still gpt.
image

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

Odd

from whynotwin11.

maksimus256 avatar maksimus256 commented on August 15, 2024

I have this problem too, I have a GTP system drive and two other MBRs.
1
2
3

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

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.

 avatar commented on August 15, 2024

May be failures to read the temp file.

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

May be failures to read the temp file.

Good point. Boot Method is failing as well. Odd

from whynotwin11.

 avatar commented on August 15, 2024

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.

rcmaehl avatar rcmaehl commented on August 15, 2024

@maksimus256 @MisakaSakura

Can you all run the file in the attached zip?
Test.zip

from whynotwin11.

MisakaSakura avatar MisakaSakura commented on August 15, 2024

@maksimus256 @MisakaSakura

Can you all run the file in the attached zip?
Test.zip

image
What does that mean?

from whynotwin11.

MisakaSakura avatar MisakaSakura commented on August 15, 2024

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.

rcmaehl avatar rcmaehl commented on August 15, 2024

@maksimus256 @MisakaSakura
Can you all run the file in the attached zip?
Test.zip

image
What does that mean?

Means powershell output is failing 😞 , Doesn't even create an output file.

from whynotwin11.

barbarajoost avatar barbarajoost commented on August 15, 2024

Same issue here. System Locale is "German (Germany)".

from whynotwin11.

maksimus256 avatar maksimus256 commented on August 15, 2024

@maksimus256 @MisakaSakura

Can you all run the file in the attached zip?
Test.zip

image
my localization is russia

from whynotwin11.

htcfreek avatar htcfreek commented on August 15, 2024

@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.

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/out-file?view=powershell-5.1#parameters

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

@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

If this fixes it, I swear

from whynotwin11.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.