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

CloverWindows.bat CMD not working #1

Closed
Kindgentlemanthatisntkind opened this issue Jan 13, 2023 · 9 comments
Closed

CloverWindows.bat CMD not working #1

Kindgentlemanthatisntkind opened this issue Jan 13, 2023 · 9 comments

Comments

@Kindgentlemanthatisntkind

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
Copy link
Owner

ryanrudolfoba commented Jan 13, 2023

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
Copy link
Author

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

@ryanrudolfoba
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@ryanrudolfoba
Copy link
Owner

Solution - manually create the Scheduled Task

@ryanrudolfoba
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants