AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

System Reboot Counter

Ein Thema von SlpLow · begonnen am 14. Apr 2019 · letzter Beitrag vom 16. Apr 2019
Antwort Antwort
Seite 1 von 2  1 2   
SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#1

System Reboot Counter

  Alt 14. Apr 2019, 05:34
Hello,
How to create a system reboot counter in the registry?
  Mit Zitat antworten Zitat
Delphi.Narium

Registriert seit: 27. Nov 2017
2.400 Beiträge
 
Delphi 7 Professional
 
#2

AW: System Reboot Counter

  Alt 14. Apr 2019, 11:15
https://superuser.com/questions/2780...n-has-rebooted
  Mit Zitat antworten Zitat
SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#3

AW: System Reboot Counter

  Alt 14. Apr 2019, 12:47
Thank you, not that.
Need a counter after running my program
  Mit Zitat antworten Zitat
HolgerX

Registriert seit: 10. Apr 2006
Ort: Leverkusen
961 Beiträge
 
Delphi 6 Professional
 
#4

AW: System Reboot Counter

  Alt 14. Apr 2019, 16:36
Hmm..

When I have unstand it right, you have 2 options:

1.)
Create your own form with a timer and show the counter there.
At the end you execute the shutdown...
(using: https://docs.microsoft.com/en-us/win...down-functions)


2.)
Use then 'shutdown' batch-command:
https://www.cnet.com/how-to/put-a-sh...-this-command/

Both have a timer until shutdown...
Non off them have a regitry entry..
  Mit Zitat antworten Zitat
SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#5

AW: System Reboot Counter

  Alt 14. Apr 2019, 22:15
When I have unstand it right, you have 2 options: ..
Hi,
need to.

1. Run my program - Launcher
2. Run another application - CreateProcess
3. Skip two system reboots - ???
4. Restarting the my program from - RunOnce

Geändert von SlpLow (14. Apr 2019 um 22:21 Uhr)
  Mit Zitat antworten Zitat
DieDolly

Registriert seit: 22. Jun 2018
2.173 Beiträge
 
#6

AW: System Reboot Counter

  Alt 14. Apr 2019, 22:17
Zitat:
3. Skip two system reboots - ???
As far as I know since Windows XP you can't skip system reboots anymore. Once windows is rebooting it's shuttong down all running programs. Using Windows XP it was possible to skip the reboot until your programs sends the OK.
  Mit Zitat antworten Zitat
SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#7

AW: System Reboot Counter

  Alt 14. Apr 2019, 22:26
Zitat:
3. Skip two system reboots - ???
As far as I know since Windows XP you can't skip system reboots anymore. Once windows is rebooting it's shuttong down all running programs. Using Windows XP it was possible to skip the reboot until your programs sends the OK.
Sorry!

2* - Need to skip the auto start of my program

Geändert von SlpLow (14. Apr 2019 um 22:39 Uhr)
  Mit Zitat antworten Zitat
DieDolly

Registriert seit: 22. Jun 2018
2.173 Beiträge
 
#8

AW: System Reboot Counter

  Alt 14. Apr 2019, 22:38
You can not skip the auto start of your program. You need to get it out of the registry first.
Would be nice to see longer sentences written by yourself. Maybe people understand better what you want to achieve then.
  Mit Zitat antworten Zitat
SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#9

AW: System Reboot Counter

  Alt 15. Apr 2019, 04:23
You can not skip the auto start of your program. You need to get it out of the registry first.
Would be nice to see longer sentences written by yourself. Maybe people understand better what you want to achieve then.
Launched from my program, the process makes two restart. It is necessary to register itself in the registry after these reboots.
  Mit Zitat antworten Zitat
HolgerX

Registriert seit: 10. Apr 2006
Ort: Leverkusen
961 Beiträge
 
Delphi 6 Professional
 
#10

AW: System Reboot Counter

  Alt 15. Apr 2019, 09:01
Hmm..

Could this be your option for blocking the reboot:

https://docs.microsoft.com/en-us/win...ckreasoncreate
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2   

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:31 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz