View Full Version : clickable "log off" icon on desktop
scottatwittenberg
06-13-2005, 04:05 PM
i want to make one...
my grandma uses my computer to play solitare..
i have it set up so when the computer goes to the screensaver it kicks it to the "welcome screen" from there, she can click her name and then there is a logon script that lowers the resolution to 800x600 so she can see everything nice and huge..
then i have a logoff script to send it back to 1600x1200, so it isn't all fucked up when i log in next..
but i want to make an icon so i can have just the icons she needs..
also.. can i disable the "shut down" option for her user? that way she won't interrupt anything i was doing in my "session" by shutting down the computer on me..
so this is all a long way of saying that i want to do the following:
a. create a log off icon that can be placed on the desktop.
b. disable the "shut down" option for a particular user.
i am going into gpedit.msc to see what i can find.
Talon Blackrazor
06-13-2005, 04:12 PM
I know you can create a shortcut to shutdown.exe with a switch to logoff (-u , I believe) and that you can disable Shutdown with a policy, but I don't know how the one would effect the other.
djnes
06-13-2005, 04:14 PM
A quick google search revealed:
Link: C:\WINDOWS\system32\shutdown.exe
Arguments: -l -t 00
If you make that a shortcut on your desktop, it should work. I haven't tested it yet.
scottatwittenberg
06-13-2005, 04:36 PM
ok.. that worked.. i need to figure out how to disable shutdown now.. i might not need to though..
scottatwittenberg
06-13-2005, 05:16 PM
funny thing..
this worked:
Link: C:\WINDOWS\system32\shutdown.exe
Arguments: -l -t 00
but i also made a new shortcut.. typed "logoff" for the target...
and it automatically linked to
d:\windows\system32\logoff.exe
and it works.. so both ways work..
TECHKnight
06-13-2005, 06:41 PM
have it set up so when the computer goes to the screensaver it kicks it to the "welcome screen" from there, she can click her name and then there is a logon script that lowers the resolution to 800x600 so she can see everything nice and huge..
then i have a logoff script to send it back to 1600x1200, so it isn't all fucked up when i log in next..
Can you share with us your script for changing resolution?
ninethreeeleven
06-14-2005, 09:13 AM
I dont know if this will help at all but "Windows Key + L = Logoff user" maybe you can bind a keyboard key to do that in just one hit.
mrmagoo_83
06-14-2005, 09:18 AM
I dont know if this will help at all but "Windows Key + L = Logoff user" maybe you can bind a keyboard key to do that in just one hit.
That actually depends on which version of XP you are using, on most it actually switches users, it doesn't really log off the user. On others it just locks the machine with that user logged in, corporate editions I believe.
Are you wanting her to be logged out as in kill her session, or just logged out of her current session, where when she logs back in, all her stuff is still running, and doesn't have to restart? Did that make any sense?
And yes I would as well like to see this log on/off script for the resolutions.
Audiochris
06-14-2005, 10:18 AM
I would think you could just create a policy for her that disables shutdown. Just create a new group and add her to it. That way when you lock it down you won't be affecting any of the default groups.
scottatwittenberg
06-14-2005, 01:35 PM
windows key + l = Lock computer, not logoff.. i created a shortcut to "logoff.exe" of all things, and it works.. if she doesn't log off, then the logoff script doesn't run.. and i am stuck with 800x600 resolution when i resume my session..
i will upload the program i use for screen resolutions.. and some example batch files.. i don't need it anymore though because ultramon profiles do the same thing...
http://www.scottsnyder.net/screenres/
there you go.. i don't know who to give credit to.. but i think somoen eon this board made it, or at least modified it..
TECHKnight
06-14-2005, 01:44 PM
You (and whoever came up with these batchfiles in the first place) are THE MAN!! :cool:
THANK YOU :D
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.