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.

Running logoff script

Featured Replies

Like the Topic..

Is its possible to run a script when the user makes a shutdown ?

(Start -> shutdown)

I know i can make a script that shutdown the pc when its done but can it run automatically ?

Best regard

Benjamin


As you can see, English is not my native language, therefor I didnt understand exactly what you wanted.

However, if you want to make a script to shutdown a computador, all you have to do is something like this:

shutdown -p

And save the .txt file as .CMD

Hope this helps.

beol

what is it your trying to acheive? delete some settings, some temp files then shutdown?

Gouki

the -p option is not available in the shutdown command.

  • Author
beol

what is it your trying to acheive? delete some settings, some temp files then shutdown?

i wanna copy a file from the client computer to a netdrive

I know in Microsoft AD there is a policie thats enable "logoff" scripts

But i don't run AD i run Novell

actually..i think you can run a shutdown script.

run gpedit.msc

computer configuration\windows settings\scripts

gpedit.msc

create a local policy, and modify it there.

-Nex6

  • 2 years later...

Hey,

My corporate computer got a logoff script. This is not a problem when I'm on the network or offline without having wifi access. However, when I have VPN connected with wifi access and then logoff, then it takes 10+ minutes to logoff... what can I do to rectify this problem?

Thanks for all your help!

instead of waking a 3 year old thread it would be better to have started a new thread.

But since it has been done, if you have control of the logoff script add code to check what network you system sees and don't run if the vpn is active. By the sound of it it is timing out while trying to contact your domain controller or a filer which is not properly contactable when on the VPN Ten minutes is the default timeout for startup.login.logoff scripts on a domain.

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.