Logoff script

CodeReliant

OSNN Junior Addict
#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
#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
#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

Latest posts

Latest profile posts

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 ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,970
Messages
673,298
Members
89,016
Latest member
Poseeut