Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

logoff/restart/shutdown script? hmm

Featured Replies

there are plenty of places to put startup programs, run, runonce etc + startup folders in profiles. but is there a place in the registry that functions like 'run' but will execute commands when someone logs off/restarts/shutsdown?

if it helps to clarify, i made a reg file that clears the Run reg folders in CU and LM, so that programs can never put themselves in there and start up without my knowing, but it will only be useful if i can get the regfile to execute on logoff/restart/shutdown. and if anyone cares, heres what the reg file does

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]


I'm not sure about the registry, but I know you can do a shutdown script with Group Policy.

Start>Run>gpedit.msc

Computer Configuration>Windows Settings>Scripts>Shutdown

If you need it to be a registry hack then you're on you're own as to finding where those scripts might be placed.

  • Author

ok maybe not. i tried putting my .vbs file in startup or shutdown, the vbs file then adds a registry entry. but it simply doesn't work.

EDIT: NEVER MIND IT WORKS

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.