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
grantballantyneAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NVITEnd-user supportCommented:
Is fixing the memory issue or turn off the BIOS memory misconfiguration warning NOT an option?
grantballantyneAuthor Commented:
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_1Microsoft Network AdministratorCommented:
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
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

NVITEnd-user supportCommented:
Maybe if the computer has something like Intel Core vPro and AMT
Asif BacchusI.T. ConsultantCommented:
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!
Rob GMicrosoft Systems EngineerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.