Logoff script

CodeReliant

OSNN Junior Addict
Joined
Feb 5, 2004
Messages
22
#1
Anyone know of a way to define a logoff script using a logon script? Right now I am using a script that automatically starts the logoff process when it’s done. I would prefer the logoff button to cause the logoff script to run.

Group policy isn't an option unless it can be configured via the logon script.

Thanks in advance,

Dan
 

Bman

OSNN Veteran Original
Joined
Jul 1, 2002
Messages
8,799
#2
sorry I dont know the answer, but I am wondering if you could explain the script your using, like what it does and where I can get it??? Thanks
 

CodeReliant

OSNN Junior Addict
Joined
Feb 5, 2004
Messages
22
#3
It does alot. Basically the school I go to has every machine reimaging every single night and I wanted my settings to stay intact when I go from machine to machine. So when I log into the domain I automatically get a student drive. I basically set up a folder on this network drive to store all of my configuration and registry files.

So basically, the script maps network drives, copies files from my network drive to the harddrive, inserts registry values, changes my wall paper and deletes a couple files that adobe places on my share, renames the shares etc.

I have a logoff script that is reverses a couple settings I don't want left behind for security purposes.

I try to code good but sometimes I get lazy so let me know if something doesn't make sense. This script won't work with out significant changes (paths and stuff).

Dan
 

Attachments

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...

Forum statistics

Threads
62,028
Messages
673,537
Members
89,038
Latest member
Samhicks