Avatar of grantballantyne
grantballantyne
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Batch File to Restart Windows 7 PC Remotely

Dear Experts

I need to create a batch file to restart a work PC remotely which I am working on from home.

I know that I can create a simple batch file with the following

shutdown -r

However - the one particular issue with this PC is that it has a memory misconfiguration which requires F1 to be hit on startup to bypasss it and start the PC.

Does anyone know if I can add a command/switch to the batch file so that the PC restarts remotely ?

Thanks for any help
Windows 7Microsoft Legacy OS

Avatar of undefined
Last Comment
Rob G

8/22/2022 - Mon
NVIT

Is fixing the memory issue or turn off the BIOS memory misconfiguration warning NOT an option?
grantballantyne

ASKER
Yes I could do that - but I am working remotely.

I don't think I can turn off BIOS memory misconfiguration remotely - can I?
Bartender_1

Unfortunately, because the memory misconfiguration warning is coming from the BIOS, it would be loaded before any scripted commands from the OS. I'm not familiar with any means of passing such a command to the BIOS for the next reboot.


Bartender_1
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
NVIT

Maybe if the computer has something like Intel Core vPro and AMT
Asif Bacchus

Unless the machine has a hardware supplied remote console interface (like some Dell and HP servers, for example), you cannot access the BIOS remotely.  Some newer UEFI interfaces have claimed to offer such an interface via Web Management panels, but I've not seen one that is working and released to the public, yet.  Plus, you'd probably have to upgrade your BIOS to access such a feature and that can't be done by remote either.

So, in short, you cannot change that BIOS setting via remote.  You'd have to get someone onsite to do that for you.

Regarding your script, Bartender_1 is absolutely correct, the BIOS is generating the message and that occurs before any OS components are loaded so you cannot pass a script parameter to bypass the prompt.

Sorry!
ASKER CERTIFIED SOLUTION
Rob G

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question