Windows 10 Batch File

Færdiggjort Opslået 5 år siden Betalt ved levering
Færdiggjort Betalt ved levering

I need a Windows 10 batch file that queries the system for its last system reboot then performs one of the following tasks based on days since last BootUp:

3 days: a popup box that says "Please restart your computer at end of the day"

6 days: a popup box that says "System is restarting, please close all documents & press OK" - after uses clicks "OK", system restarts

9+ days: a popup box says "System is restarting in 90 seconds" - execute shutdown -r - t 90 -f

These commands will provide most lastBootUpTime:

- wmic os get lastBootUpTime

- wevtutil qe System "/q:*[System[(EventID=6005)]]" /f:text /rd:true /c:1 | find "Date:"

- (gwmi win32_operatingSystem).lastbootuptime

Many ways to create a popup, here is a simple one: Msg * "Please restart your computer at end of the day"

C# Programmering C++ Programmering PHP Software Arkitektur Windows Skrivebord

Projekt ID: #17831321

Om projektet

12 bud Remote projekt Aktiv 5 år siden

Tildelt til:

PintsizedSix40

Hi, I'm new to Freelancer, so this is my first project, but I have had experience with Bash and VBScript message boxes, so I think I can do this. From what I understand, you want a script that WILL start at boot, check Flere

$10 USD in 2 dage
(4 bedømmelser)
2.6
AhmadSameer

Hey katycom !! How are you? I'm a System Engineer with coding skills. Would you like the script to be developed in Batch or Powershell?

$30 USD på 1 dag
(17 bedømmelser)
4.6

12 freelancere byder i gennemsnit $31 timen for dette job

AndreiCostache

Hi! My name is Andrei, I'm a student at Computer Science in my final year. Until now, I have 2 years experience as a C# Developer at a company based in London. Having my experience as a developer in my background, I'm Flere

$20 USD på 1 dag
(9 bedømmelser)
3.8
vpr58e3445e03cda

I am working on windows application for a long time. I am Experienced in doing such projects. I will create a window service that will call a Batch file whenever system Reboots and will do the tasks mentioned by you. Flere

$30 USD in 3 dage
(20 bedømmelser)
4.0
narsim3128

With respect to this project I would like to present myself as a candidate for your consideration. I have more than 8 years of IT experience. I have successfully completed few projects which involved Programming, scrip Flere

$40 USD på 1 dag
(4 bedømmelser)
3.5
KenJanka

Hello accept warm greetings from Ken J. I can see you need an interactive batch file to perform a system reboot based on the current up time of the system. I can do that for you in a day, at most two days. I can start Flere

$35 USD på 1 dag
(4 bedømmelser)
2.8
tecra134

Popup messages can only be instantiated with VBS or larger languages like C# and up. However, you can build a temp .vbs through batch and launch the .vbs message through batch. This would simpler in C# and less error Flere

$35 USD in 3 dage
(0 bedømmelser)
0.0
BrydonLeonard

Hi Im a new freelancer on this site, so I'm willing to work for this small amount in order to build up my rating. I am a MSc Computer Science student. Automation using batch scripts is a part of my daily work flow fo Flere

$15 USD på 1 dag
(0 bedømmelser)
0.0
sAsadBlue

You have most of the commands sorted out, i can get you the script made so it does your three required tasks. I can get it done within the day, as long as it gets approved and i am online.

$29 USD på 1 dag
(0 bedømmelser)
0.0