No announcement yet.

Final tested Script

  • Filter
  • Time
  • Show
Clear All
new posts

  • Final tested Script

    Although I am new to scripting, But I have searched about different login script samples on the internet.
    I didn't come to any conclusion at last. I hope I could find well tested Script according to my need.

    I want to write a script which

    1: delete any users previous manual loaded shares such as network drive or printer

    2: I set 2 network printers with these adresses

    and set print1 as users Default printer

    3:Map network drive s Z which will


    plz hel me in this procedure

  • #2
    Re: Final tested Script

    im not in a scripting mood so i cant roll out a script for you and also its good to figure something like this out for yourself (in case anything goes wrong).

    So what you need to look up is:

    1. Enumerating printer connections and drive mappings and deleting them (this bit will be hard)

    Try here for pointers:

    2. Adding those printers is dead easy

    3. And adding the mapped drive is easy.

    Google for 2 and 3. Should be loads of things about them.
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **


    • #3
      Re: Final tested Script

      and also search the forums....
      for example:

      and also see this:
      Technical Consultant

      MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
      "No matter how secure, there is always the human factor."

      "Enjoy life today, tomorrow may never come."
      "If you're going through hell, keep going. ~Winston Churchill"