Nov 21, 2009

To Automatically Run Command When Login / Logoff

free web hosting
Open Discussion > MODERATED AREA > Tutorials

To Automatically Run Command When Login / Logoff

magiccode9
In case that you need login and / or logoff to execute some commands.
You could do this with GPO login / logoff function.

Here is step:

1.) Choose Start Menu -> Run -> type in gpedit.msc
2.) Expand User -> Windows Settings ->Script ( Logon / Logoff )
3.) Double-Click either one and a dialog displayed
4.) Click the add button and then browse the command files that you wish to executed. The Script Parameters allowed you to pass any extra parameters to the command or applications. Click OK button.
5.) You command now should displayed on Name / Parameters List Box. Click OK button and close the window.
6.) Make the change with the logoff if you needed.


Comment/Reply (w/o sign-up)

crazyfray
An alternative for logon for less technical users is:
- browse to your 'Startup' folder in Programs
- right button, and click 'Explore'
- put a shortcut to your program/document/file in this location.

(I'm fairly certain you already know this!)

I'll give this a try sometime though...looks very handy!

Comment/Reply (w/o sign-up)

hippiman
That's pretty sweet. You might need to make a tutorial later on basic cmd files, for those people that don't know anything about windows, or whatever. Unless there's already a tutorial on that. I'm not sure.

Comment/Reply (w/o sign-up)

de4thpr00f
Hehe, sweet. Simple and without the need of tweak programs.
By the way, do you have anything like this for windows vista?
Thanks in advance.

Greetz
~
João Lopes

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : automatically, run, command, login, logoff

  1. How To Use Command Prompt As A Text Editor
    (6)
  2. Simple Php Login And Registration System
    (19)
    Hello. This is my first web tutorial ever. This is basically a simple register and login script.
    Yes, I know it’s a bit rubbish but I’m quite new to PHP/MySQL. Here’s the register form. This can
    be any file extension you like. I’d recommend calling it register.html . CODE
    Register Register Username: Password: First Name:
    Last Name: Age: Now create a MySQL database. Then create a
    file that will be called CODE mysql-connect.php . Here is the file: CODE $co....
  3. Sending + Receiving Email Via Telnet
    using email via the command line. (11)
    ok first off im no good at writing tutorials so feel free to flame me (hey that rymes). Anyway in
    this tutorial i will basically show you how to send and receive email via the command-line terminal
    emulation program called Telnet. Now where shall i start, hmm.. Sending Email!! Sending Email
    Sending email requires a special type of server called an SMTP server (SMTP -> Simple Mail Transfer
    Protocol). SMTP is the protocol used to send email just like POP is the protocol used to receive.
    Now by default and most commonly SMTP servers run on port 25. To describe a port i....
  4. Automatic Login
    in WinXP (6)
    Ever wanted to just turn on our computer and when you get back it's already on the desktop?
    (Rather then having to login at the welcome screen) Now some computer have this feature by default,
    but what if it gets broken, try this. On an Administrator account goto start >> Run, and type
    "control userpasswords2" (without the quotes) Uncheck the box that "Users must enter a Username and
    Password to use this computer", then press Ok. You will be prompted to enter a default user and
    their pasword, then next time you restart the computer it will automaticaly login to that....
  5. Simple Login In Visual Basic 6
    user interaction example trough login programm (9)
    First of all, I am NOT a programmer, this is something my friend taught me. It describes basic
    interaction with the user, while showing basic functionality of this simple programm. So, without
    further ado, we're off to the tutorial: First of all, start your visual basic, when prompted
    for new project, select Standard Exe . Next, we need to open code window, so we can start typing
    the program. This can be done in two ways, one is double clicking on the form, or selecting Code
    from View menu. If you double clicked on the form, you will see following text: CODE ....
  6. How To Put A Phpbb Login Box On Your Main Site.
    Code and .php included!!! (19)
    I have included my coded file with this... Ok here is the code. CODE // //Create login area,
    replace the phpBB2 in /phpBB2/login.php with your forum's //directory //   Prank Place
    Forum Index     Please enter your username and password to log in.        
                  Username:                   Password:      
                Log me on automatically each visit:                    
    I forgot my password         You can test this out on my....
  7. Php/mysql Login/register
    Tutorial for login with databases. (4)
    Start register code. Register.php CODE Username: Email: Pass: Verify
    Pass: //Login to your database. Make the fields of course..
    mysql_connect("localhost","user","pass"); mysql_select_db("database"); //end //if registering,
    check fields. if ($action == register) { if (!$user || !$pass || !$email || !$vpass) {  print
    "You must fill out all fields.";  exit; } $dupe1 = mysql_num_rows(mysql_query("select * from
    table where user='$user'")); if ($dupe1 > 0) {  print "Someone already has that
    username.";  exit....
  8. Complete Login And Registration System
    doesn't use mysql! (9)
    kLogin 0.1 QUOTE(readme.txt) Readme file to kLogin 0.1 To use the internet explorer fix:
    download the latest IE7 ZIP file
    (http://sourceforge.net/project/showfiles.php?group_id=109983&package_id=119707) Extract the ie7
    zip file to the root directory of your web server. Example, if you are using a unix/linux server,
    it's on "public_html/" or "home/public_html" Open kLogin.php file with your editor and edit the
    $info_text or $info_txt variable. Then, extract the kLogin.php file in to the root directory of
    your web server also. Just run kShoutBox.php If ....
  9. Multiple Admin Login (php)
    This is a script that doesnt requre SQL (3)
    first off make a login.html page Code: QUOTE Admin Login Username: Password:
    then make a check.php page Code: QUOTE $admin1 = "admin1"; // first
    admin username $adm_pass1 = "password1"; // first admin password $admin2 = "admin2"; // second
    admin username $adm_pass2 = "password2"; // second admin password if(($username == $admin1 &&
    $password == $adm_pass1) || ($username == $admin2 && $password == $adm_pass2)){ echo
    "Congratulations " . $_POST . " You may now proceed to the admin area !"; } else { echo "Userna....
  10. Php Simple Login Tutorial
    Learn how to make a simple login! (75)
    I have been quite busy lately, trying to design and code my site (far from done XD). And after
    having learned how to make a simple login, I will try to write my own tutorial, for you
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> the tutorial Step 1
    : The first step in designing a member system is to plan out exactly what you need. A common impulse
    among programmers is to jump right in and start coding. I'll be honest and admit that I'm
    guilty of this more so than anyone. However, since I'm in control of this conversation (y....
  11. Complete Login System
    With PHP + MYSQL (57)
    Its an complete login sistem made and tested by me and I think itwill be very usefull for people who
    are tryn to learn PHP. First, let's make register.php: CODE include("conn.php"); //
    create a file with all the database connections if($do_register){ // if the submit button were
    clicked if((!$name) || (!$email) || (!$age) || (!$login) || (!$password) || (!$password2)){ print
    "You can't let any fields in blank.\n"; // if the user did not put some field exit; } $name =
    stripslashes($name); $email = stripslashes($email); $age = stripslashes($age); $login = s....

    1. Looking for automatically, run, command, login, logoff

Searching Video's for automatically, run, command, login, logoff
See Also,
advertisement


To Automatically Run Command When Login / Logoff

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com