|
Next: boot problem
|
| Author |
Message |
External

Since: Aug 29, 2005 Posts: 1
|
(Msg. 1) Posted: Mon Aug 29, 2005 9:13 pm
Post subject: How to run a batch file upon logging off Archived from groups: microsoft>public>windowsxp>basics (more info?)
|
|
|
Rick \Nutcase\ Rogers Wrote:
> Pro only: Create a logoff script, add it to the group policy editor
> (start/run gpedit.msc). Add to User Config/Windows Settings/scripts.
Thank you for your reply.
To answer Sparda, I am using Windows XP Pro, 2002.
Rick, can you please suggest an appropriate script-tutorial for the
type of script necessary? I will look around, but I am not sure I'll
easily find what you have in mind.
domvex Wrote:
> Hello. I have a batch file which backs up about 500kb of data to floppy
> disk.
>
> What I want is to make this batch file run automatically whenever I log
> off my user account. I did not see a Task Scheduler option for what I
> want to do (did I miss it?). Your help is appreciated!
>
>
> upon searching this forum for \"task run log off\", i was informed that
> \"the following words are either very common, too long, or too short and
> were not included in your search: run, log, off\". so, i figured i could
> not go wrong listing this question among \"the basics.\"
--
domvex |
|
| Back to top |
|
 |  |
External

Since: Sep 21, 2004 Posts: 298
|
(Msg. 2) Posted: Mon Aug 29, 2005 9:13 pm
Post subject: Re: How to run a batch file upon logging off [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi,
Not my strongest suit either, but here:
http://www.microsoft.com/technet/scriptcenter/guide/sas_vbs_overview.mspx
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"domvex" <domvex.1ujudn.RemoveThis@pcbanter.net> wrote in message
news:domvex.1ujudn@pcbanter.net...
>
> Rick \Nutcase\ Rogers Wrote:
>> Pro only: Create a logoff script, add it to the group policy editor
>> (start/run gpedit.msc). Add to User Config/Windows Settings/scripts.
> Thank you for your reply.
>
> To answer Sparda, I am using Windows XP Pro, 2002.
>
> Rick, can you please suggest an appropriate script-tutorial for the
> type of script necessary? I will look around, but I am not sure I'll
> easily find what you have in mind.
>
>
> domvex Wrote:
>> Hello. I have a batch file which backs up about 500kb of data to floppy
>> disk.
>>
>> What I want is to make this batch file run automatically whenever I log
>> off my user account. I did not see a Task Scheduler option for what I
>> want to do (did I miss it?). Your help is appreciated!
>>
>>
>> upon searching this forum for \"task run log off\", i was informed that
>> \"the following words are either very common, too long, or too short and
>> were not included in your search: run, log, off\". so, i figured i could
>> not go wrong listing this question among \"the basics.\"
>
>
> --
> domvex |
|
| Back to top |
|
 |  |
External

Since: Sep 24, 2004 Posts: 595
|
(Msg. 3) Posted: Mon Aug 29, 2005 9:13 pm
Post subject: Re: How to run a batch file upon logging off [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Batch files are OK.
If XP Pro, use Group Policy.
Local Computer Policy\Computer Configuration\Windows Settings\Scripts
(Startup/Shutdown)
Local Computer Policy\User Configuration\Windows Settings\Scripts
(Logon/Logoff)
%windir%\system32\GroupPolicy\Machine\Scripts\Shutdown
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Shutdown
%windir%\system32\GroupPolicy\Machine\Scripts\Startup
C:\WINDOWS\system32\GroupPolicy\Machine\Scripts\Startup
To assign computer shutdown scripts
http://www.microsoft.com/resources/documentation/windows/xp/all/proddo...en-us/g
More info
http://search.microsoft.com/search/results.aspx?st=b&View=en-us&s=6&c=...u=Scrip(Startup/Shutdown
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:domvex.1ujudn@pcbanter.net,
domvex <domvex.1ujudn DeleteThis @pcbanter.net> hunted and pecked:
> Rick \Nutcase\ Rogers Wrote:
>> Pro only: Create a logoff script, add it to the group policy editor
>> (start/run gpedit.msc). Add to User Config/Windows Settings/scripts.
>> Thank you for your reply.
>
> To answer Sparda, I am using Windows XP Pro, 2002.
>
> Rick, can you please suggest an appropriate script-tutorial for the
> type of script necessary? I will look around, but I am not sure I'll
> easily find what you have in mind.
>
>
> domvex Wrote:
>> Hello. I have a batch file which backs up about 500kb of data to floppy
>> disk.
>>
>> What I want is to make this batch file run automatically whenever I log
>> off my user account. I did not see a Task Scheduler option for what I
>> want to do (did I miss it?). Your help is appreciated!
>>
>>
>> upon searching this forum for \"task run log off\", i was informed that
>> \"the following words are either very common, too long, or too short and
>> were not included in your search: run, log, off\". so, i figured i could
>> not go wrong listing this question among \"the basics.\"
>
>
> --
> domvex |
|
| Back to top |
|
 |  |
| Related Topics: | Xtras file - I USUALLY PLAY GAMES ON THE INTERNET BUT IT HAS SUDDENLY STOPPED LOADING THEM, IT DISPLAYS A MESSAGE SAYING "This application requires an Xtra (vector shape) that either does not exist or failed to initialize properly. Please make sure the approp...
program file list - I can't see all the programs in my program files list, how do I make these columns smaller for viewing. thanks in advance
Folder task bar showing file size gone again... - Feeling stupid again... it hasn't been a week since I read here, or in another windows ng, how to get my "file size info" back in XP, as it has been in every preceding version. And <sigh>, due to creeping senility, I can't remember wh...
OVERLY LONG FILE NAMES - as impediment to COPYING FILES - I tend to use long file names, so as to identify needed files readily. If the file saves to my C drive in Windows XP Professional, I don't pay particular attention to the length of the file name that I've used. But in trying to COPY large files (e.g., ...
The system file is not suitable to running Ms-Dos or Micro.. - This messagebox is presented by the 16 bit Windows Subsystem when I try to run apps I have ran before, Can someone recommend how to repair this fault? |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|