ryanrudolfoba / SteamDeck-Clover-dualboot

Script to install Clover - a graphical boot manager for the Steam Deck.
https://www.youtube.com/watch?v=HDnxOw6j3EY&t=975s
455 stars 26 forks source link

CloverWindows.bat CMD not working #1

Closed Kindgentlemanthatisntkind closed 1 year ago

Kindgentlemanthatisntkind commented 1 year ago

When I run CloverWindows as administrator it says that "the system can't find the file specified." and "invalid argument/option - 'blahblahblah\CloverTask.xml" 20230113_213126_HDR Any help?

ryanrudolfoba commented 1 year ago

Did you download and extracted the ZIP file?

Please refer to this video tutorial

https://m.youtube.com/watch?v=5ITV_9_ny24&feature=youtu.be

Kindgentlemanthatisntkind commented 1 year ago

Yeah I extracted the zip, but I can't seem to find device lockdown in windows features.

ryanrudolfoba commented 1 year ago

Please skip the Unbranded Boot / Device Lockdown.

I've updated the README you dont need that anymore. But instead use this -

Open command prompt with admin privileges and enter the command - bcdedit.exe -set {globalsettings} highestmode on

Kindgentlemanthatisntkind commented 1 year ago

Screenshot 2023-01-15 002704 I did that and still the same thing happened. Do you need any info about my device? I can give you some if you want.

ryanrudolfoba commented 1 year ago

OK i tried to automate the creation of the Scheduled Task so it is less painful, but for some reason it doesnt work on your machine.

Please create the Scheduled Task manually instead -

  1. Create a folder called C:\1Clover-tools

  2. Copy CloverTask.ps1 to C:\1Clover-tools

  3. Go to Task Scheduler > Task Scheduler Library.

  4. Right-click Task Scheduler Library > Create Task. image

  5. Under the General Tab enter the task name - CloverTask - donotdelete and make sure the items are like the screenshot - image

  6. Go to the Triggers tab. Click New, and then select At Startup. image image

  7. Under Actions, click New. Enter this on the Program / Script - C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

  8. Enter this for Add Arguments - -executionpolicy bypass -file C:\1Clover-tools\CloverTask.ps1

This is how it should look like - image image

  1. Click the Conditions tab and uncheck everything image

  2. Once everything is confirmed to be correct press OK.

  3. Follow the rest of the video - right-click CloverTask and select RUN.

  4. Go to C:\1Clover-tools and open the status.txt file

  5. Compare the Clover GUI and bootsequence should have the same information.

  6. Reboot!

Kindgentlemanthatisntkind commented 1 year ago

Nice! Thanks a lot for your time and patience:) I restarted windows and it worked! Have a great day lad (btw I already had 1Clover-tools installed luckily but when I tried to create a folder(C:/1Clover-tools) it said that I can't use : or / when creating a folder. Maybe you just ment to make it in the c drive but I'm just making sure Incase you don't and people walk into this problem in the future as well!)

ryanrudolfoba commented 1 year ago

No worries! Yes I meant C: drive. I'm glad its working for you now.

ryanrudolfoba commented 1 year ago

Solution - manually create the Scheduled Task

ryanrudolfoba commented 1 year ago

digging further the issue happens when there are "spaces" in the folder / directory names. i've since rewritten the Windows script to accomodate this.