Suoritettu

Windows 10 Batch File

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"

Taidot: C# -ohjelmointi, C++ -ohjelmointi, PHP, tietojärjestelmäarkkitehtuuri, Windows Desktop

Näytä lisää: create batch file to run exe, windows 10 batch file start command, windows batch file commands examples, windows 10 batch file variables, batch file won't run windows 10, create batch file to run command, useful batch files for windows 10, windows 10 batch file not working, windows batch file ftp find file name, line breaks windows batch file, windows batch file fixes, batch file set scheduled task windows 2000, batch file unzip script windows, windows scheduler start batch file background, ftp batch file windows scheduler, windows scheduled tasks batch file background, windows batch file line break, windows scheduled task batch file, batch windows replace word file, windows schedule batch file day

Tietoa työnantajasta:
( 10 arvostelua ) Richmond Heights, United States

Projektin tunnus: #17831321

Myönnetty käyttäjälle:

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 Lisää

$10 USD 2 päivässä
(0 Arvostelua)
0.0
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 1 päivässä
(9 Arvostelua)
3.6

14 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

ineedWorkJob

Greetings sir, how are you today sir? hope fine. Sir, I have read your project details and i will create a script that will check last restart/boot time and based on that prompt user (with message box) and resta Lisää

$50 USD 1 päivässä
(225 arvostelua)
7.1
$40 USD 3 päivässä
(13 arvostelua)
3.4
senet

Hello, I am Prosenjit, as SME of Windows Server and expert in AWS, Azure, VMware and other Microsoft Technologies. Before I propose something, I have a quick question for you.. is your plan to execute the Script at Lisää

$40 USD 1 päivässä
(5 arvostelua)
3.1
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 Lisää

$40 USD 1 päivässä
(2 arvostelua)
3.0
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 Lisää

$20 USD 1 päivässä
(3 arvostelua)
1.8
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 Lisää

$35 USD 1 päivässä
(1 arvostelu)
0.9
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 Lisää

$35 USD 3 päivässä
(0 arvostelua)
0.0
gaboarita

I have done programs like this before! hire me, let's get to work!

$50 USD 5 päivässä
(0 arvostelua)
0.0
mahdihkia

i had done this project before and project is ready to deliver. i had done this project before and project is ready to deliver.

$20 USD 0 päivässä
(0 arvostelua)
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 Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0
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. Lisää

$30 USD 3 päivässä
(0 arvostelua)
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 1 päivässä
(0 arvostelua)
0.0