Display reminder when click on shutdown?

Husky79

New member
Local time
12:56 PM
Messages
10
I have tried several searches and can't find something that works. I keep getting sites that say to create a script then add it in the gpedit.msc and I dont know how to make scripts to open a notepad or something graphically when I click on shutdown.

What I want is that when I click on shut down, it will pop up a screen or open a notepad that will say stuff like have you completed your timesheet, sent in invoice and such. Cause I sometime forget to do some stuff and get in trouble.

Is there any easier way beside making a script which I have no clue how to do a script.

Thanks
 

My Computer

OS
Windows 7 Ultimate 64bit 6.01.7600
CPU
Intel I7 920 D0 stepping
Motherboard
Asus P6T
Memory
OCZ3G1600LV2G Gold DDR3 PC3-8500
Graphics Card(s)
XFX ATI Radeon HD4870
Sound Card
built in mobo
Monitor(s) Displays
1 Samsung HDTV Syncmaster T260HD, 1 Samsung SyncMaster 2343
Screen Resolution
Primary display 1920x1200 secondary 2048x1152
Hard Drives
WDC Caviar Black WD1001FALS-00E3A0 1TB 32mb cache Rev. 05.01D05
WDC Caviar BlackWD1001FALS-00J7B1 1TB 32mb cache Rev. 05.00K05
PSU
OCZ
Case
Antec Nine Hundred
Cooling
Prolimatech Megahaelms air cooled
Keyboard
Logitech Classic Keyboard 200
Mouse
Logitech MX Laser
Internet Speed
20.75 mb/s down 2.09 mb/s upload from Charter Communications
Hello Husky and welcome to sevenforums.

I assume the software posting notes to your desktop is from your employer.

I recommend you contact the company and ask them what they need you to do. This does not sound a Win 7 problem but rather work duties related.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
do you work the same hours each day? if so, maybe you could create a scheduled task and set it to run 10 or 15 minutes before the time you normally log off.
 

My Computer

Computer Manufacturer/Model Number
Alienware AREA-51 M17x
OS
windows 7 ultimate 64bit
CPU
Intel Core2 Extreme x9000 2.8GHZ
Motherboard
Asus P965 Intel chipset
Memory
4Gig
Graphics Card(s)
2 NVidia GeForce 8800M GTX (SLi)
Sound Card
onboard
Monitor(s) Displays
17in. built-in, 47in JVC LCD
Screen Resolution
1080p
Hard Drives
2 250Gig Hitachi (RAID 0) @ 7200RPM
Case
17in. laptop
Mouse
touchpad, Logitech Anywhere Mouse cordless laser
Internet Speed
cable
Husky,
Ignore my previous post. I just realized that you want a nag screen and I had thought that you were trying to get rid of one.

Good old, post-its stuck to your monitor still work.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
Thanks for the reply, I work from home and the company does not provide computer for me, I use my own computer. I have post it on the desktop. But sometimes I forget about it on the weekends even when I dont work, I still have to submit a invoice even though it would be a zero lol its silly but.. Also I have a reminder on my phone, but still forget it sometimes since the phone would be sitting somewhere else. So I was thinking of a fool proof thing like when I click on the shutdown button a pop up will come and will not allow me to shut down until I press ok or close that popup. Then that way I will know for sure I got those stuff done. Since the computer is the last thing I am doing just before I crawl in bed. So I thought since technology is possible with all those popups and Win7 has the screen up letting me know there are still some programs open and its closing it. So I figure there has to be some sort of software or a way to do this.

Thanks
 

My Computer

OS
Windows 7 Ultimate 64bit 6.01.7600
CPU
Intel I7 920 D0 stepping
Motherboard
Asus P6T
Memory
OCZ3G1600LV2G Gold DDR3 PC3-8500
Graphics Card(s)
XFX ATI Radeon HD4870
Sound Card
built in mobo
Monitor(s) Displays
1 Samsung HDTV Syncmaster T260HD, 1 Samsung SyncMaster 2343
Screen Resolution
Primary display 1920x1200 secondary 2048x1152
Hard Drives
WDC Caviar Black WD1001FALS-00E3A0 1TB 32mb cache Rev. 05.01D05
WDC Caviar BlackWD1001FALS-00J7B1 1TB 32mb cache Rev. 05.00K05
PSU
OCZ
Case
Antec Nine Hundred
Cooling
Prolimatech Megahaelms air cooled
Keyboard
Logitech Classic Keyboard 200
Mouse
Logitech MX Laser
Internet Speed
20.75 mb/s down 2.09 mb/s upload from Charter Communications
The option of a scheduled task may be the way to go - not as a timed item but as an action triggered by the actual shut-down task. I say may be as I'm not sure if it's actually possible to trigger on shut-down.

I have to go out for a while but will check the possibilities later and post back my findings - looks an interesting challenge and if we can get it working would be useful for many things

Quick check seems to say that scripts and GPEDIT MSC is the only way to do this, will investigate more ....
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
I have tried several searches and can't find something that works. I keep getting sites that say to create a script then add it in the gpedit.msc and I dont know how to make scripts to open a notepad or something graphically when I click on shutdown.

What I want is that when I click on shut down, it will pop up a screen or open a notepad that will say stuff like have you completed your timesheet, sent in invoice and such. Cause I sometime forget to do some stuff and get in trouble.

Is there any easier way beside making a script which I have no clue how to do a script.

Thanks

I think this script I made should be fine. It will display a popup with a Yes and a No button. When you click the Yes, the shutdown is cancelled. Click No and the system will proceed.
Code:
<job id="vbs">
    <script language="VBScript">
        Set WshShell=WScript.CreateObject("WScript.Shell")
        On Error Resume Next
        menuSel=MsgBox("Have you completed your timesheet ?" & vbCrLf & "Have you sent in the Invoice?" & vbCrLf & "Have you forgotten anything at all?" & vbCrLf & "Think hard!", vbYesNo)
        If menuSel=vbYes Then
            WshShell.Run "Shutdown -a"
        End If
    </script>
</job>
To set it up on Shutdown,
1. Save the script somewhere on the system (or) Copy the script from here and paste it in notepad and save it as 'ShutdownReminder.wsf'
2. Goto Start > Run, then type "gpedit.msc" without the quotes.
3. Naviagate to Computer Configuration > Windows Settings > Scripts (Startup/Shutdown). This brings up two options on the right.
4. Double click (or) Right click on Shutdown and select Properties
5. Click 'Add' and browse for the script file you saved.
6. Click 'OK' and close the Policy Editor

That should work. Keep us posted if it works.

I've attached the script in this post.
 

Attachments

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP EliteBook 8530w Mobile Workstation
OS
Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
CPU
Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache)
Motherboard
Mobile Intel PM45 Express Chipset ICH9M-Enhanced
Memory
4GB 800 MHz DDR2 SDRAM
Graphics Card(s)
ATI Mobility FireGL V5700 with 256 MB
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
15.4-inch WXGA anti-glare (1280 x 800 resolution)
Screen Resolution
1280 x 800
Hard Drives
500GB + 1TB
Mouse
Synaptics PS/2 Port Touchpad, USB Mouse
Internet Speed
4 Mbps
Antivirus
MSE
Browser
Firefox, Chrome, IE
Other Info
Authentec AES2810 Fingerprint Reader
OK there is a way to trap the shut-down action in the task scheduler but unfortunately this only happens when the shut-down is under way so the script as described above is the way to go

I did write a quick batch file to do the job which is attached but this will just display the reminder and then shut down

The delay is variable and it will warn of the shut-down but the more elegant script above is a better way

Code:
@Echo Off
Echo this is text add extra notes to additional echo statements 
Echo to add more data to the reminder

set /a counter =0

:numbers

set /a counter=counter+1

if counter ==2500 (goto :Shut)
 
Rem Change this value to adjust the delay

goto :numbers


:shut
shutdown.exe -s -t 10

View attachment Shutdown Batch.bat
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Thanks for the information and motivation to help me. Something like this would be a great benefit for a lot of people!

However I tried Gladson1976's script and it did not pop up anything and my computer hung at the "shutting down" screen for like 10 mins before I finally force power down via power button.

When I powered back on, i noticed that all my cookies like for password and login information to all sites are all erased. Could it be from the script? or the forced powerdown? That has never happened to me when I did force powerdown that I recall.

I will try Barman58's method sometime today.

Again thanks!


**EDIT FOR CLARIFICATION** Gladson1976, Sorry I just checked more sites and the login info is still there, only this site and 2 other sites lost the login information. So I guess it must be something from the forced power down. Doubt its from the script. I will try it out again by downloading the file provided. and try that one.
 

My Computer

OS
Windows 7 Ultimate 64bit 6.01.7600
CPU
Intel I7 920 D0 stepping
Motherboard
Asus P6T
Memory
OCZ3G1600LV2G Gold DDR3 PC3-8500
Graphics Card(s)
XFX ATI Radeon HD4870
Sound Card
built in mobo
Monitor(s) Displays
1 Samsung HDTV Syncmaster T260HD, 1 Samsung SyncMaster 2343
Screen Resolution
Primary display 1920x1200 secondary 2048x1152
Hard Drives
WDC Caviar Black WD1001FALS-00E3A0 1TB 32mb cache Rev. 05.01D05
WDC Caviar BlackWD1001FALS-00J7B1 1TB 32mb cache Rev. 05.00K05
PSU
OCZ
Case
Antec Nine Hundred
Cooling
Prolimatech Megahaelms air cooled
Keyboard
Logitech Classic Keyboard 200
Mouse
Logitech MX Laser
Internet Speed
20.75 mb/s down 2.09 mb/s upload from Charter Communications
Try putting only this
Code:
Set WshShell=WScript.CreateObject("WScript.Shell")
On Error Resume Next
menuSel=MsgBox("Have you completed your timesheet ?" & vbCrLf & "Have you sent in the Invoice?" & vbCrLf & "Have you forgotten anything at all?" & vbCrLf & "Think hard!", vbYesNo)
If menuSel=vbYes Then
    WshShell.Run "Shutdown -a"
End If
in a file, name it as 'ShutdownReminder.vbs' and try it in the Group Policy Editor
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP EliteBook 8530w Mobile Workstation
OS
Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
CPU
Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache)
Motherboard
Mobile Intel PM45 Express Chipset ICH9M-Enhanced
Memory
4GB 800 MHz DDR2 SDRAM
Graphics Card(s)
ATI Mobility FireGL V5700 with 256 MB
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
15.4-inch WXGA anti-glare (1280 x 800 resolution)
Screen Resolution
1280 x 800
Hard Drives
500GB + 1TB
Mouse
Synaptics PS/2 Port Touchpad, USB Mouse
Internet Speed
4 Mbps
Antivirus
MSE
Browser
Firefox, Chrome, IE
Other Info
Authentec AES2810 Fingerprint Reader
gladson1976, that one didn't work, it hangs at the shutdown screen, no script showed up.
 

My Computer

OS
Windows 7 Ultimate 64bit 6.01.7600
CPU
Intel I7 920 D0 stepping
Motherboard
Asus P6T
Memory
OCZ3G1600LV2G Gold DDR3 PC3-8500
Graphics Card(s)
XFX ATI Radeon HD4870
Sound Card
built in mobo
Monitor(s) Displays
1 Samsung HDTV Syncmaster T260HD, 1 Samsung SyncMaster 2343
Screen Resolution
Primary display 1920x1200 secondary 2048x1152
Hard Drives
WDC Caviar Black WD1001FALS-00E3A0 1TB 32mb cache Rev. 05.01D05
WDC Caviar BlackWD1001FALS-00J7B1 1TB 32mb cache Rev. 05.00K05
PSU
OCZ
Case
Antec Nine Hundred
Cooling
Prolimatech Megahaelms air cooled
Keyboard
Logitech Classic Keyboard 200
Mouse
Logitech MX Laser
Internet Speed
20.75 mb/s down 2.09 mb/s upload from Charter Communications
Bump! I want this too. I think (it's just a guess and I could be wrong) it's not showing up because it's opening up in the background. Like when you set up a scheduled task to be "Run whether user is logged on or not" it still runs and you can see it in task manager but it doesn't show up on the screen. What could be done in that case?
 

My Computer

OS
Windows 7 Home Premium x64
I think this script I made should be fine. It will display a popup with a Yes and a No button. When you click the Yes, the shutdown is cancelled. Click No and the system will proceed.
Code:
<job id="vbs">
    <script language="VBScript">
        Set WshShell=WScript.CreateObject("WScript.Shell")
        On Error Resume Next
        menuSel=MsgBox("Have you completed your timesheet ?" & vbCrLf & "Have you sent in the Invoice?" & vbCrLf & "Have you forgotten anything at all?" & vbCrLf & "Think hard!", vbYesNo)
        If menuSel=vbYes Then
            WshShell.Run "Shutdown -a"
        End If
    </script>
</job>

Can you make this script such that instead of prompting it checks for file contents of a specified file on the desktop instead? If the file is empty then proceed with the shutdown otherwise not. Because I think the script does run but any interface isn't displayed to the user. Which explains why
it hangs at the shutdown screen, no script showed up.
The content-checking might work! But I don't know how to write such scripts myself...
 

My Computer

OS
Windows 7 Home Premium x64
Hi Can any one say how to display pop up window if we click the shytdown button
and allows the user to cancel or proceed the shutdown
 

My Computer

OS
windows7
I have tried several searches and can't find something that works. I keep getting sites that say to create a script then add it in the gpedit.msc and I dont know how to make scripts to open a notepad or something graphically when I click on shutdown.

What I want is that when I click on shut down, it will pop up a screen or open a notepad that will say stuff like have you completed your timesheet, sent in invoice and such. Cause I sometime forget to do some stuff and get in trouble.

Is there any easier way beside making a script which I have no clue how to do a script.

Thanks

I think this page has just the tool you are looking for.

It can display a message when a computer is shutting down/ restarting or even logging off.

It allows me to change the message it displays so I could add what I wanted to be remembered. i.e. in your case you can change the message to "Have you completed your timesheet"

It also shows how (less) memory it uses.

Search for "ILT shutdown alert" or:

Tool to Display a Reminder When You Log Off , Turn Off or Restart Your Computer « I Learnt Today…

:cool:
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Back
Top