Link to home
Start Free TrialLog in
Avatar of grantballantyne
grantballantyneFlag 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
Avatar of NVIT
NVIT
Flag of United States of America image

Is fixing the memory issue or turn off the BIOS memory misconfiguration warning NOT an option?
Avatar of 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?
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
Maybe if the computer has something like Intel Core vPro and AMT
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
Avatar of Rob G
Rob G
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial