Phaethon Posted September 25, 2007 Posted September 25, 2007 Is there a way to have a script automatically run when a user logs on (globally for all users of a computer). And also, is there a way to check if someone has clicked shutdown, and if they have, stop the computer from shutting down? Thanks! Coder's Helper >> Here[center][/center]
sandin Posted September 25, 2007 Posted September 25, 2007 try this: run registry editor and find this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run then make a new string leading to your script and your script will automaticly run when windows starts. I dunno answer for "shutdown" question. Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll
weaponx Posted September 25, 2007 Posted September 25, 2007 Option 1: Start > Run > gpedit.msc Computer Configuration > Administrative Templates > System > Logon > Run these programs at user logon Option 2: Copy a shortcut to the Startup folder on the start menu Option 3: Create a registry entry in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Phaethon Posted September 25, 2007 Author Posted September 25, 2007 Thanks guys. Anyone have any ideas about the shutdown question? Coder's Helper >> Here[center][/center]
Phaethon Posted September 26, 2007 Author Posted September 26, 2007 Bump Coder's Helper >> Here[center][/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now