Over 1 million tech questions and answers.

Is there a way to execute a prgm/script at user logoff/shutdown?

Q: Is there a way to execute a prgm/script at user logoff/shutdown?

In old WinXP there was a tricky feature in Group Policy editor to execute a script when a User logs off resp. the computer was shutdown.


I do not find this feature in Windos 7 (pro).

is there another way to execute a *.bat batch script at
a) user logoff
b) shutdown?

Peter

RELEVANCY SCORE 200
Preferred Solution: Is there a way to execute a prgm/script at user logoff/shutdown?

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Is there a way to execute a prgm/script at user logoff/shutdown?

You can do it in pro and above with gpedit.

Use Startup, Shutdown, Logon, and Logoff Scripts

Read other 1 answers
RELEVANCY SCORE 88.8

I am in need of setting a task to run only when I logoff, reboot or shutdown the computer. Technically, this should be in another forum... as I am running the windows 7 beta. However, since it operates almost identically to vista and I have the same issue in my vista boot partition... here I am.

I experimented with the trigger options "when a specific event is logged" and found some entries for the restart manager/operations etc... is this my 'huckleberry' and if so what are the event id's and other info?

OR---> is there a better way to do this?

A:Schedule a task to execute at shutdown or logoff

so no replies to this one at all?!?

Read other 2 answers
RELEVANCY SCORE 82.4

Hey all,

I'm trying to run a script that remotely shuts down a networked computer (AUX) when I shut down the main computer (MAIN). I've already got a batch file written that sends the shutdown signal.

When I go into gpedit.msc-->Windows Settings-->Scripts--Shutdown and add the batch file there, it runs very late in the process, after the user is already logged off, and throws a permissions error (5: access denied).
If I move the script to run at logoff, it works perfectly; however these computers are frequently changing accounts and therefore it would be very frustrating to constantly need to restart the AUX after every account change. Therefore I need the script to
run on shutdown, NOT logoff
I can see three possible solutions:
1) Somehow change the shutdown sequence of events so that the batch file gets ran first. I believe that this is possible, but I have no idea where to do it...probably hidden in the registry or a system file
2) Change the default "Power Button" in the start menu so that my script runs instead of just sending the shutdown command. While this fix is not ideal, it would work for all practical purposes.
3) Create an executable that polls for the shutdown event trigger in the background. The issue here is that, as far as my research could tell, all of the shutdown-specific (NOT logoff) triggers happen after the logoff has already occurred.
I won't be the primary user of this system, I am merely configuring the drives for other ... Read more

Read other answers
RELEVANCY SCORE 82.4

Hi,

I am running Vista Home Premium x64 and I would really like to run a logoff and/or shutdown script. Do you have a way to do it? I know it's in gpedit and I have seen a lot of posts where people have added scripts with gpedit and then tried to do a before & after analysis of the registry to see how to manually add a script - but it is really complicated and I can't get it to work.

Good grief, you would think that running a logoff/logon/startup/shutdown script would be as easy as adding one registry entry but I can't find any information. And it sure doesn't help that you have to logoff/logon/restart to test it.

I'm hoping that you have the magic answer!!!

A:Need help to run a logoff and/or shutdown script please.

Welcome
Found this and it may help
How to: Add startup and shutdown scripts in Windows - Online Training and Tutorials

Read other 7 answers
RELEVANCY SCORE 81.6

I have a script that launches Ccleaner and needs to run at shutdown. Shutdown scripts do not run within the user space as I understand, so I figured I'd use a logoff script which will run while the user is still logged in. The logoff script works when logging off as expected, but does not run when shutting down.

When you hit the shutdown button, the system first logs the user off then enters the shutdown process, so logically (in my head anyway) a logoff script should run when shutting down the system, yet it doesn't.

Does anyone here know how I can accomplish my goal of running Ccleaner (or any other app that needs to be run while logged in) when the system is shutdown? Please note that I am aware of the alternatives, but I want this to work when clicking "Shut Down", not by ending a batch file with a shutdown command and using that to shut down my system.

Thanks

A:Logoff script not running at shutdown

Windows shutdown script.
Create System Startup / Shutdown and User Logon / Logoff Scripts

Read other 2 answers
RELEVANCY SCORE 80.4

Im creating a program with the following code:
Code:
$listDrives=DriveGetDrive( "REMOVABLE" )
If NOT @error Then
$chk=True
Else
$chk=False
EndIf
Beep(500, 400)
Sleep(100)
Beep(500, 400)
Sleep(100)
Beep(500, 400)
msgbox (48,"Removable Device Detected","Removable Device Detected Please Remove", 30000)
The idea is that it runs at logoff to alert the user if they have left a USB drive plugged in. What i want to know is how i can pause the logoff/shutdown until this program has closed.

or

if i stick it in the logoff script will windows pause automaticly until it closes?

TY
 

Read other answers
RELEVANCY SCORE 76.4

undefined

Okay heres the deal (I hope this is easy for all u smart guys) When I'm logged on to my User account, I can't logoff or powerdown from the start menu. The only way for me to power down (forget about loggin off) is to select the switch user prompt. I am then directed to the Login Menu that comes up after my comp starts up. I want to be able to Logout, and or Shutdown from my desktop no matter what user I happen to be. Any help you may have I would be much obliged for. Thank you.

I RUN ON [B]WINDOWS XP[/B]

HlpyHlprton
 

A:Can't Shutdown or Logoff from User Desktop

Read other 8 answers
RELEVANCY SCORE 74

Hi folks. I've got Server 2008 R2 laptop that I need to transfer files to. Frequently, when I reconnect the mapped drive on the source computer, it disables my account on the laptop. Sometimes I forget to check & re-enable it, causing me to get someone to re-enable my account.

I created a batch file using net user account /active:yes. Running that batch file seems to work fine.

The question is, how do I automate that batch file to run on logoff or shutdown?

Thanks,
Mike

A:Enable user account at logoff/shutdown - server 2008 R2

windows 8 - Schedule a command at logoff before applications terminate - Super User

Read other 1 answers
RELEVANCY SCORE 74

I have about 500 workstations on a domain running a critical 24/7 application. I need to be able to prevent the users from Logging off, Shutting down, or restarting the workstation from the Windows Desktop. I have been able to do this with Windows XP for
years but I am not able to prevent Logoff and Shutown/Restart at the same time on Windows 7. I can disable one or the other but not both via doman GPO and/or Registry settings.
Does anybody know how to prevent a specific user from logging off, shutting down, or restarting a workstation from the windows desktop?
Thank you.
Mike

Read other answers
RELEVANCY SCORE 60.4

OK guys - My friend has Windows XP and everytime he logs into Windows, it begins to log in (the login screen goes away) and then 5 seconds later it says "Logging Off..." just like as if you clicked the logoff button. Is this some type of script that someone put on his computer to mess with him or is this a virus? And how can I remove this without reinstalling Windows and without being able to get to Windows??

Thanks

P.S. Guest account automatically logs off also and administrator account does too. Safe Mode does same thing.
 

A:Logoff Script??

Read other 7 answers
RELEVANCY SCORE 60.4

i don't know where to ask this question.. 
Task Scheduler don't have a log off trigger so I Create a Task Schedule and its working fine .

then create a script for log off 

Set oShell = CreateObject ("WScript.Shell") 
oShell.run "schtasks /run /TN ON"

When i Double click from desktop its working no  problem .
But when i add it to log off script in Group Policy its started but wont complete cause window shut down before complete.
Any Idea how i run that script complete successfully before windows shutdown ?
I am testing it on workgroup environment.

Read other answers
RELEVANCY SCORE 60

On windows 7 professional 64-bit sp1,
if a current user is screen locked, the lock screen indicates the current user name and account is logged on and the computer is locked. I am using Classic Logon in group policy,
and under local policy-security options-interactive logon i have it set to display username and account info (the option with most information).

the problem i have is say a user is logged in and then I need to use the computer,
at that point the lock screen says so and so is logged in and locked,
I do a switch user, log in and do my thing, then log out.
Now the screen goes back to the base login screen saying 'ctrl-alt-del' not saying any user is currently logged in.
Now if that original user does log back in, all his stuff is still here and everything acted like a basic screen lock happened so no problem there... but what i want to happen is after a switch user logs out the screen goes back to the lock screen displaying who has the computer locked. is there a way to do that?
thanks.

A:Switch User then logoff, back to ctrl-alt-del login not previous user

At a guess, I'd say Classic Logon is the culprit here, as I do not have this issue with Windows 7 64-bit SP1 with the default login screen. Changing this is likely impractical next to the simple solution of ditching Classic Logon (It's an ancient artifact by now)

Read other 1 answers
RELEVANCY SCORE 59.6

Just wondering if anyone has come across this before.

As part of our logoff script we run a backup application to backup users data to the network. In XP we never had a problem, in Windows 7 a few power users have come across a problem. If they have lots of data that's changed, when the script runs (runs an application called SyncbackSE), while it runs fine, if it gets to 10 minutes and it is still running, then windows (I'm presuming it's windows doing this) just stops it running and finishes the logging off of the user without finishing the back. Is there somewhere that this can checked/set?

Thanks

A:Logoff script timeout?

What's the script?

Read other 4 answers
RELEVANCY SCORE 59.6

Hello,

The issue I have is my co-workers and I share a VM which we remote into, only one person needs access to it at a time. I have been searching for a way that I could set a script to run when I log on which would log off all other users on the system. I have tried to do it with a simple batch file but I couldn't figure out if that was possible with other users or it would only work with the user logged in.

I'm trying to do it by a script not using the task manager to log off users.

Any ideas on how I might be able to accomplish this?

Thank you,
LF4

Batch File to try and log off multiple users:

Code:
@echo off
rem Genereate a file and store each user name we want to log off in it.
set file=templist.txt
echo user1 >> %file%
echo user2 >> %file%
echo user3 >> %file%

rem Log off the users found in the file.
FOR /f %%i in (./%file%) do (
echo Logging off: %%i
rem
Shutdown /f /l %%i
)
rem Remove the temp file that stored the user names.
del %file%
pause

A:Logoff users with a script?

Here is a Vbs Script so paste it into notepad and call it *.vbs that logs others off imediatlyif you could get someone else to find out how to do it all the time just by looging it it would be great

Code:





Quote:
Set wshShell = WScript.CreateObject ("WSCript.shell")
wshshell.run "shutdown /l /t 0"

Read other 7 answers
RELEVANCY SCORE 59.6

Here's my issue, I would like to RDP to a Windows 7 laptop. Even with Administrative privledges, it will tell me "Waiting for user to respond". I would like to either switch users via RDP, or force them to log off without prompting.

Server is SBS 2008. I already have "Set Rules for remote control of Terminal Services user sessions" to Full Control without user's permission.

A:Forcing user logoff/switch user with Remote Desktop

Anyone?

Read other 2 answers
RELEVANCY SCORE 59.2

Hi,
I have a problem after migration from Windows 7 to Windows 8.
The computer is on a domain and logoff script is applied via GPO to it. The logoff script simply opens an internal web page in Internet Explorer. The problem is that when I select signout/shutdown/restart and the script runs I cannot
see Internet explorer bacause of the signingout/shuttingdown/restarting screen. The IE is opened in the background and cannot be accessed, so I have to wait 10 minutes for Winlogon services which closes IE forcefully. In XP and 7 works fine. Is there
a way to correct that?
Thank you

Read other answers
RELEVANCY SCORE 59.2

The Windows 7 logoff is so fast that a critical logoff script is failing.
The win7 machines are joined to an AD and the scripts are run via a GPO. The scripts live on the local machines. (batch script)
The script was simple as pie:
*****
c:\Windows\our-little-program.exe
ping -n 5 127.0.0.1
*****
This script requires network to be active, and needs ~5 seconds to complete.
We used to slow down logoffs on XP/Vista by simply putting "ping -n 5 127.0.0.1" into the batch script, the result of that ping is a 5 second wait before the logoff continues. 5 seconds was always enough time for the script to finish. I'm almost certain
this script worked fine in Windows 7 early versions. But with SP1, that all changed. Now the logoff process shuts everything down immediately, does not wait for the ping to finish, and the script dies as a result.
I've searched around, found no insight into how to actually delay the logoff process. I did find a "solution" online,

http://social.technet.microsoft.com/Forums/ar/winserverpowershell/thread/2d72ab03-3db1-40f3-a8c2-f7055797a0e8, but that doesn't work for us because we are not invoking a web browser in the script. We are simply invoking an executable program.
Thanks for any ideas.

A:delay the logoff process so a GPO script can run?

Hi,
Please check whether the similar thread below helps.
http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/325c7b31-a466-4582-aa83-85cf2b81057d Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?

Read other 2 answers
RELEVANCY SCORE 59.2

Sorry to bump this thread, but I would like to know if a change in the group policy affects all users on the computer, or only my user account. I want to run a logoff script for my account only.

I am talking about going into gpedit.msc and adding a logoff script. Will this affect all users, or only my account.
 

A:Single account logoff script

Even though it appears you're having the same problem, please start a new thread when you have a new issue. It's very difficult to keep two problems straight and who's working on what in a single thread.

I've created a new thread for your issue here.

Note: You will need to post complete details of your configuration and your specific issue in this new thread for us to help you.

Thanks for your cooperation.
 

Read other 1 answers
RELEVANCY SCORE 58.8

I have a need to execute a script immediately after a user logs in (i.e. as soon as they hit OK or return after entering password). Putting the script in the Startup folder will mean is is executed too late.

Can anyone suggest how this could be done?

A:How do I execute a script immediately at logon?

go to start > run > write gpedit.msc > navigate to:

Windows settings > scripts (startup / shutdown ) > double click on startup > browse to the script > click ok everywhere > you`re done

Cheers

Read other 1 answers
RELEVANCY SCORE 58.8

Hi Everyone,
We have set our logon script to execute a reg file. The problem is, this reg file only exists on a select number of workstations (and we only want it to)! If someone logs on to a station where the reg file doesn't live, obviously it chucks out an error at the logon stage.
Is there a way in the logon script to say, "only execute if it exists" or could we produce some kind of on_error command. Basically, all we want to do is not have this error pop-up every time someone logs on to a machine where there is no reg file.

Thanks a lot
Nick
 

A:Logon Script (Execute .REG File)

What type of logon script you're currently use now? Batch file, kixtart, perl, vbs? pls specify.
I presume you're using NT server with Win2K or WinXP based clients.
If you use batch file, you can utilize 'if exist' command.
e.g:
if exist c:\windows\regfile.reg c:\windows\regedit.exe c:\windows\regfile.reg

tks
 

Read other 2 answers
RELEVANCY SCORE 58.8

Hi guys, got a question for you all: do you know a RELIABLE way to execute a script BEFORE entering hibernation/sleep (on Windows 7)?
 
I need also to execute some other script on resume... and both script are network related, so they have to check for network availability before doing their job...
 
ByeDario Palermo

Read other answers
RELEVANCY SCORE 58.4

Hey everyone.

We've been experimenting with running a batch script to backup incremental files for users within our domain. We've found that, when the script is run using an Admin account, or by adding the local user to the Admin's group, the script will kick off and run as it should during the Log Off phase.
However, due to security issues, we cannot have all the users having full administration credentials on the systems, so we cannot go down this path.

The Local user account, when the batch script is run manually, runs, and back's up the files as it should. But on Log off, the script doesn't even run, within the log files, there is an Access Denied 5 error 0x0000005.

Now, whilst I can tell this is user permissions error, I've fiddled around with configurations and settings on the local device, the target device on the network and even user accounts, yet, I cannot seem to get this script to execute, as it should, on Logoff, using a standard user account.

Folder permissions are all setup so that the users can read/write and there is no issues with either, as the script will run manually with no output errors and all files successfully copy over.


I am absolutely stumped at the moment, as everything I have tried, does not seem to solve the issue. Only using admin credentials seems to work and due to policies, we cannot allow the users to have Admin rights.

I'm assuming I've missed something simple, so if anyone could point me in the right direction, that wo... Read more

A:Logoff Script failing to run for local users.

Hi Ry,

If you suspect something is amiss with this batch file of yours, we could take a look at it. You'll need to post snippet of this script first (preferably the lines that you think are the cause) for us to view.

Read other 3 answers
RELEVANCY SCORE 58.4

I need a free program to run a logoff script in Windows XP Home or Windows XP Professional. It has to not depend on the network, so no netlogon share or something.

I've ended up being made aware of several ways to do this from searching, but I can't find an already built program that does this. There's HSLAB shutdown folder lite, but it has quick shutdown. I just want a logoff script, no other changes to Windows XP. There's group policy which is perfect, but doesn't support Windows XP Home. I don't want to get it to run on Home, that might be illigal.

You can create a script to shutdown and execute that script instead of shutdown, but I just want to execute a regular shutdown or whatever and have the program run. There's a NEW GINA program, but I don't want the rest of that New GINA, just the logoff feature if I were to use it.

Some programs shut down after a certain amount of time, and then run a logoff script before the computer shuts down, but I don't want timed shutdowns.

I could write a program to wait for a logoff event and then execute a script from the background, which would work I think if I could find a program to do that. It would also seem to work fine as I've saw searching to have a system tray icon that just waits until the icon is gone and then runs a script, but I can't find a program to do that already, just a thing that says how it works. Do you know any program that exists for free that does this?
... Read more

A:Solved: Logoff Script in Windows XP Home

Read other 11 answers
RELEVANCY SCORE 58.4

Hi guys,
What is a recommended tool to use if I have domain admin rights, and I would like to scan every computer on the network and execute a script on each one of them? (Hopefully on a scheduled basis)

Thanks in advance!

A:tool to sweep network and execute script?

Why not just set a cron job ( or your OS's version of it ) on each computer? I think they only way you wuld be able to sweep your network and then execute a command is if you already knew the ip addresses and every machine was running ssh. Then you could make a script with the usernames/passwords stored in an array (huge security risk) and execute your command.

Read other 2 answers
RELEVANCY SCORE 57.6

How do I disable can't execute code from a freed script message in IE 11?  This message pops up repeatedly upon opening my home page.  I have disabled all script debugging using the Advanced Tools option.  No matter how many times I
click no on the pop up that displays this message repeatedly, I receive this message over and over.  I have deleted cookies and browsing history.  Please help me find a solution for this problem. I am a regular user and not a developer (I am
a retired engineer of the non-software developer type).  Please provide a solution such that a regular user can implement it.

Read other answers
RELEVANCY SCORE 57.2

I had a liitle problem with XP PC connected to Win2003 server standard edition. A user can log on successfully to a workstation, but when they tried to shutdown the PC, they only found an option to log off the Windows (no shutdown, no stand-by options) - but if an admin login on the same workstation, the shutdown options surely will come up.

one more thing, the workstation (XP) are SP2 installed, hope this is not the factor which caused the troubled

My best guess that this has something related to Win2003 server policy, but I cannot figure which one that caused this trouble.

and what I mean user, are really plain domain user, without some addition like backup operator, print operator... no, it was just a simple plain domain user only

If anyone know how to solve this problem, please help me.

Thanks
 

A:shutdown won't appear - logoff only, please help

To log in at the server console itself, the user must be a member of a group say the Print Operators group at a minimal.

To use Remote Desktop, they must be a member of the Remote Desktop Users group

You would be right about the policy. It is the policy that is preventing regular users from shutting down your server.

First, run the group policy editor which is gpedit.msc

Note, if you are working on a server with Active Directory, you will need to choose the server object!

Expand Computer Configuration, expand Administrative Templates, and then click Start Menu & Taskbar.
In the right pane, find "Remove the Shutdown command" and edit it. The button will now appear.

Please note you may need to do this on the user configureation too. I reallyl don't know. If so, create or edit a GPO that is attached to a user account in Active Directory. You will work under user configureation.
 

Read other 2 answers
RELEVANCY SCORE 57.2

Hallo,

For some reasons I want to execute some programs before the System is shut down.

I want to normally choose the shutdown button to perform the shutdown
(or other button on the same location),
But a message should show something like ?performing ??
and after finishing finally shutting down the PC.
The Windows Update sometimes does have the same behaviour.

I?m looking for this feature for Windows 7 and XP.
Each would help a lot.

I also already tried some programs, but it looks like I?m not geek enough
I hope someone already achieved this and could explain how.

A:Execute on shutdown

Windows 7 Shutdown Assistant looks good but it's $19.95. There's a free trial though if you want to check it out.
Windows 7 Shutdown Assistant ? Help You schedule Windows 7 PC to shut down, Write Notes and Run file, Program

You could also run the command where **** is the time in seconds until shutdown:
shutdown -s -t ****

Another option is to use the native Task Scheduler. This will enable you to automatically run a program at a certain time. You might be able to shutdown the system after the program has finished.
Task Scheduler - Create New Task

Read other 8 answers
RELEVANCY SCORE 57.2

I would really need help for this weird problem I am getting. I have searched in different forums and on the web and cannot even found a similar occurrence.

The problem occurs for some (note, only some) software installation invoking installshield wizard (or other installers).

When it occurs, the wizard does not wait for the user to click the relevant button and advance steps (eg "next" after having selected the relevant step).
Example, say I launch a driver installation, and I need first to select the sound card. The wizard will have a first screen with different selectable options and a "next" and "back" buttons.
Well, what happens is that it just jump to the next step, as if someone had clicked, but actually this looks like a "script" of some sort happening. I then have to work against this "phantom" script to click back and select my option before the script clicks on "next".
The script is like it just jump to the next (as if clicking on next) after 1 or 2 sec, and you have to select your option in that slot.

So, this sort of autoscript or "autoexecute" does not select an option, rather it is like it just clicks on "next" after one / two sec or so. Like you have a child pressing the button on your same keyboard or clicking on the mouse, against you have to fight and click on back (note that you have control on the mouse). This is really weird, isn't it?

This effectively jeopar... Read more

Read other answers
RELEVANCY SCORE 56.8

Ok, It says it all in the title really.
I click shutdown/restart (not sure bout logoff), and it just dumps me back on the desktop. If I try ctrl+Alt+del at this point it says it can't becuase its shutting down.

After ages the icons disappear and i just see the background

I have searched around the forum and found that people might want to see my HiJackThis log file, so here it is:

Logfile of HijackThis v1.97.6
Scan saved at 21:49:59, on 13/11/2003
Platform: Windows XP SP1 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\system32\spoolsv.exe
C:\PROGRA~1\Grisoft\AVG6\avgserv.exe
C:\WINDOWS\System32\nvsvc32.exe
C:\WINDOWS\Explorer.EXE
C:\PROGRA~1\DAP\DAP.EXE
C:\Program Files\Logitech\iTouch\iTouch.exe
C:\WINDOWS\System32\RUNDLL32.EXE
C:\Program Files\MSN Messenger\MsnMsgr.Exe
C:\Program Files\Winamp\winamp.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\System32\wuauclt.exe
C:\Program Files\Sygate\SPF\Smc.exe
C:\PROGRA~1\Grisoft\AVG6\AVGCC32.EXE
C:\Program Files\Internet Explorer\IEXPLORE.EXE
C:\Documents and Settings\Innus.IANSCOMPUTER\Local Settings\Temp\Temporary Directory 1 for hijackthis.zip\HijackThis.exe
C:\WINDOWS\System32\notepad.exe

R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = file:///C:/Documents%20and%20... Read more

Read other answers
RELEVANCY SCORE 56.8

I have a Dell E510 running XP HE. All MS updates are applied. It runs fine, until I logoff or shutdown. Then it gives me a BSOD. Multiple security tools find no problems. I ran the MS Debugging Tools for Windows. Results follow. Can anyone shed some light on my problem?

WARNING: Whitespace at end of path element

Microsoft ® Windows Debugger Version 6.12.0002.633 AMD64
Copyright © Microsoft Corporation. All rights reserved.
Loading Dump File [H:\Woods BSOD.dmp]
Mini Kernel Dump File: Only registers and stack trace are available

WARNING: Whitespace at end of path element
Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols

Executable search path is:
Windows XP Kernel Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 2600.xpsp_sp3_gdr.100216-1514
Machine Name:
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055d720
Debug session time: Sat May 8 12:50:05.095 2010 (UTC - 7:00)
System Uptime: 1 days 15:46:30.858
Loading Kernel Symbols
...............................................................
................................................................
....
Loading User Symbols
Loading unloaded module list
..................
*******************************************************************************
* ... Read more

A:BSOD during logoff or shutdown

Good info...but I'd like to try something else.Download/install BlueScreenView, http://www.nirsoft.net/utils/blue_screen_view.html.Double-click BlueScreenView.exe file.When scanning is done, Edit/Select All...then File/Save Selected Items. Save the report as BSOD.txt. If the reported date for errors is not in chronological order (most recent at top), then you may want to sort that column to make it so...before saving the file.Open BSOD.txt in Notepad, copy all content, and paste it into your next reply.Thanks .Louis

Read other 4 answers
RELEVANCY SCORE 56.8

This may seem like a dumb question, but do I need to LOGOFF prior to shutting down my computer at the end of the day? I have Vista Home Premium, and have only two accounts, an Admin one which I rarely use and always log off when I'm done with it, and a general account that is used for day-to-day stuff. It almost seems like the LOGOFF command on the general account is an unnecessary step....but I don't want to skip it if, indeed, it does something beneficial prior to the SHUTDOWN step.

Thanks in advance for the help.

A:Logoff Prior To Shutdown?

No. Shutting down logs you out by itself.

Billy3

Read other 1 answers
RELEVANCY SCORE 56.8

I'm having an issue (slow logoff and shutdown) in WinXP.
I've attached log. Any help appreciated.
 

A:Slow logoff and shutdown

A slow logoff and shutdown could mean applications are hanging- that is, not shutting down properly. It can also mean the there are too many programs starting at boot and running in the background. Each of these has to close when you shutdown

It is better to follow the order of the malware cleaning, running Malwarebytes first, then Superantispyware, followed by Hijackthis, then attaching all 3 logs. But we will try this. If problems persist, you will need to follow: http://www.techspot.com/vb/topic58138.html
You are running two antivirus programs. Decide which you want to keep, then remove the other one:
Ontrack:




Part of Ontrack's Fix-it Utilities Suite. Loads a System Tray icon that lets you access the full program. Needed if you run the crash guard, intellicluster, anti-virus, or autoupdater. Otherwise not required
C:\PROGRA~1\AVANQU~1\SYSTEM~1\MXTask.exe>> Related to Ontrack Inc.
C:\PROGRA~1\AVANQU~1\SYSTEM~1\mxtask.exe
O2 - BHO: WormRadar.com IESiteBlocker.NavFilter - {3CA2F312-6F6E-4B53-A66E-4E65E497C8C0} - C:\Program Files\Avanquest\SystemSuite\LinkScannerIE.dll
O2 - BHO: Data Vault - {8373ADC0-6330-11DD-9D77-22C856D89593} - C:\Program Files\Avanquest\SystemSuite\IE_ContextMenu_Vault.dllClick to expand...

Vipre:




2. C:\Program Files\Common Files\AntiVirus\SBAMSvc.exe
SBAMSvc.exe>> SBAMSvc.exe is the Vipre engine. It should eat up memory as it works, if that bothers you install something like cacheman to keep your entire machine ... Read more

Read other 4 answers
RELEVANCY SCORE 56.8

I'm not sure if this is the right place, however I am trying remotely logoff the current user from my vista x64 ultimate machine upstairs to my vista x64 home premium machine downstairs.

I can easily restart or shutdown using
cmd> shutdown /r /f /p /m \\PC
or /s respectively

However you cannot use -l with -m so I can only turn the computer off to keep the kids from playing video games all day.

I remember in XP you could use the Computer Manager to connect to \\PC(or what ever it happens to be) and then right click to find shutdown properties and a logoff option. This seems to be gone in vista although I can use Computer Manager to connect to \\PC from my upstairs computer \\Nick-PC and see the users on \\PC, but with no logoff option.

I have also tried cmd> logoff "session#" /server:"name"
logoff 2 /server:\\PC

This also did not work even when instead of typing in 1,2,or 3 for whomever was logged on session id using their loggon name
logoff nick server:\\PC
also did nothing if nick was theoretically the current logged on user.

Any ideas for how to logoff the user without having to shutdown or restart the computer? This is more of a annoyance to keep people on task then restarting which waists a lot of time.

A:Remote logoff shutdown

Const cLogoff = 0
Const cShutdown = 1
Const cReboot = 2
Const cForceLogoff = 4
Const cForceShutdown = 5
Const cForceReboot = 6
Const cPowerOff = 8
Const cForcePowerOff = 12

strComputer = "PC"
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery ("SELECT * FROM Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
ObjOperatingSystem.Win32Shutdown(0)
Next

Seems to work for me it's a little abrupt, but I'm sure I can do more tinkering.
I did however have to enable rpc through the vista firewall to make this work. I had no idea what WMI or RPC was before this, ah the powers of Google.

Read other 3 answers
RELEVANCY SCORE 56.4

I want to my WinXP laptop (a Thinkpad T41, WinXP SP2) to execute a task/script/job when it receives a suspend/hibernate request from me before it completes said suspend/hibernate. It's basically a "do this before you suspend" procedure.

Is there a way to do this?

Specifically, I want to shut off my jabber connection to a server without having to do this manually.

Thanks for any help,
-Matt
 

A:How to auto-execute task/job/script prior to laptop suspend/hibernate?

Your answer is in this thread
 

Read other 1 answers
RELEVANCY SCORE 56

After about two and a half years of using this computer, I recently started having a minor shutdown problem. After clicking "turn off" in the start menu and then clicking the turn off button in the dialog box, the screen clears and the right side of the task bar, except for the time indication clears. Nothing else then happens until I repeat the selections in the start menu and dialog box. Everything then proceeds in a normal manner. The same sequence occurs if I opt for just logging off. System is XP, SP2 with all the latest updates.
 

A:Shutdown/logoff minor problem

if you have been running xp for 2 and a half years with never reloading you are bound to have problems. if you can deal with it until a bigger issue occurs then do, its about time for a reload.
 

Read other 3 answers
RELEVANCY SCORE 56

For about a month now this desktp PC takes long time to shut down or log off. Nothing new added in that time that I can recall. When clicking Start-Logoff or Turn Computer Off, it takes sometime 3or 4 minutes for the next window to display. When it does come up and I make the choice, sometime another 5 minutes or longer before it reacts. I also am getting the following message, especially when logged into Ancestry.com

Internet Explorer
Stop Running this Script
A script on this page is causing IE to run slowly. If it continues to run, your computer may become unresponsive.
Yes No
Regardless of which I choose, error message reapears every few seconds.

Thanks for any suggestions,

HP Pavilion Media Center TV PC
Model m7680n
2048MB
500GB HD
Win XP Home
IE 7 SP3
BitDefender Antivirus 2008
Ad-Ware 2008
 

A:Excessive Logoff and Shutdown time

Read other 7 answers
RELEVANCY SCORE 56

when i am logged into my machine as an administrator, I can't logoff or shutdown without manually logging off. All other users on the machine can log off successfully. When I try to logoff the administrator, the logoff box goes away but it stays at the desktop and i can't shutdown either. Can anyone help
 

Read other answers
RELEVANCY SCORE 56

hey i have a windows vista 64 bit desktop pc and i here theres no power options for the desktop pc's so is there any other way i can set my pc to hibernate/shutdown/logoff etc etc after a certain time?

thanks

A:Set pc to hibernate/shutdown/logoff etc after certain time

Hello Damo, and welcome to Vista Forums.

Desktops do not have the Power icon in the taskbar notification area only. They still have one in the Control Panel (Classic View) to adjust the power settings though.

Power Plan Settings - Change - Windows 7 Forums

Read other 9 answers
RELEVANCY SCORE 56

mt pc wont shutdown logoff or restart i have to press the btn
i did hijackthis
Logfile of HijackThis v1.97.3
Scan saved at 11:02:36 AM, on 11/7/2003
Platform: Windows XP (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 (6.00.2600.0000)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\system32\spoolsv.exe
C:\WINDOWS\Explorer.EXE
C:\progra~1\intern~1\mmx.exe
C:\Documents and Settings\Owner\Application Data\coao.exe
C:\WINDOWS\system32\ntvdm.exe
C:\WINDOWS\System32\msiexec.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Documents and Settings\Owner\Local Settings\Temp\Temporary Directory 1 for hijackthis.zip\HijackThis.exe

R1 - HKCU\Software\Microsoft\Internet Explorer,SearchURL = http://tooncomics.com/main/sp.htm
R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Bar = http://www.2020search.com/search/9884/search.html
R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = http://search.shopnav.com/apps/epa/epa?cid=shnv9884&s=
R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://tooncomics.com/main/hp.htm
R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = http://out.true-counter.com/a/?101 (obfuscated)
R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = http://out.true-counter.com/b/?101 (obfuscated)
R1 - HKCU\Software\Mic... Read more

A:xp wont shutdown/restart/logoff

fixed it heres the case a file in the startup prevented the shutdown etc so i selected selective startup and did half of the files in the startup tab at a time (what you check off at one time isnt applied until next reboot)until it was narrowed down and then deleted it from the registry
ps if you manually restart after changing something in msconfig it will not be saved
 

Read other 3 answers
RELEVANCY SCORE 56

Hi all,
I am new to this forum and not so technical in computers. i have a dell vostro 1510 laptop with XP SP2. i am facing a strange prob since last month. i can login win xp but when i press the key shut down, then nothing happens. there is a message 'Logging off" and it stays there. finally i have to shut down manully i.e. by power switch. it neither restarts nor shutdown. also i started to repair but failed. Pls advice..

Thanks

Read other answers
RELEVANCY SCORE 56

Hi,

I was trying to find the registry value in Vista where you can change the option from shutdown to logoff. By default Vista remember the last option you have chosen and I would like to change that when a user logs in. Any ideas? Will appreciate any help I can get. Thank you.

A:Change option from shutdown to logoff

Check in Control Panel>Power Options. I am not at a Vista computer right now, and I don't remember the exact path, but look around for Advanced Power Options. Check in there for the Power button action.

Read other 4 answers
RELEVANCY SCORE 56

I am the sole user of my computer. How do I remove the Logoff option at shutdown? At shutdown I would like two choices:

Restart and Shutdown

I would like Win2k to operate in the same manner as Win98SE if possible. Thanks.
 

A:Win2k - Remove logoff at shutdown

Start > run > gpedit.msc

User Configuration > Administrative Templates > System > Ctrl+Alt+Del Optioins
Remove Logoff
 

Read other 1 answers
RELEVANCY SCORE 56

Strange thing occur on my Windows 2000 Advance server. When I try to shutdown or logoff from the server it bring me back to the desktop. It would NOT allow me to shutdown.

Please let me know why???

Thanks in advance.

CF
 

A:Cannot logoff or shutdown Win2k Server

It could be related to the power settings. If you havent already done so, download SP1.
 

Read other 1 answers
RELEVANCY SCORE 56

Hello,

I have followed various tutorials on how to remove the shutdown button in the start menu via gpedit.msc I have done this successfully.

I have also been able to remove the start > arrow next to shut down > log off button which greys out.

gpedit.msc > user configuration > administrative templates > start menu and task bar > "remove and prevent access to the shutdown, restart, sleep and hibernate commands" > change to enabled

I did the same with "remove logoff on the start menu"

What I am calling the bug, and need a work around for is that EITHER the "logoff" button is greyed out, and the shut down button is available to use..

OR

the shut down button is removed, but instead it now says "logoff."

Therefore, I can not seem to get rid of both the logoff AND the shutdown buttons.

I am trying to set public computers so that the users can not click logoff, or shutdown, or for that matter switch user.

Any help on how to set this configuration is greatly appreciated.
I am using Windows 7 professional 32-bit.

Thank you.

A:Remove logoff & shutdown gpedit BUG?

Some possibilities here: How can I setup a computer with Windows 7 to be used as Kiosk computer

Read other 5 answers
RELEVANCY SCORE 56

Hi there,
I am runnign some servers, and trying to be saftey contious and set them up so they wil shutodwn if the system gets too hot.

Although I am not having much success

-Bios is too old, and does not have such a feature
--Can't seam to find a bios update
-I have looked on sites such as download.com for a 3rd party app that will do it, but can't find one that woul would work without knowing what the motherboard is.

-The bet I have gt so far is SpeedFan, aparently you can make it execute a shutdown if the temp rises too far...but i am not sure how;

--Does anyone know how?
--Or does anyone know of some other app please.

Any help would be much apreciated!
Thanks.
 

A:Execute shutdown in SpeedFan or Similar ?

Read other 7 answers
RELEVANCY SCORE 55.6

Hey I was trying to add a task scheduler script to run when the computer logs off, but does Windows log off when shutting down, sleeping, or hibernating? and when does the computer switch between sleep and hibernation? And why does my computer freeze after Sleep/Hibernation (or what could I do to find out the culprit)?

Sorry for so many questions!!

A:Shutdown, LogOff, Sleep, and Hibernation Question?

hello welcome to the forums have a look at barefootkids tutorial for How to Create a Task that will Shut Down the PC Automatically
Task Scheduler : Create Shut Down PC Automatically Task
brinks tutorial
How to Enable or Disable Hibernate in Windows 7
Hibernate - Enable or Disable

Read other 5 answers