Announcement

Collapse
No announcement yet.

Final tested Script

Collapse
X
  • 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
    \\server\print1
    \\server\print2

    and set print1 as users Default printer

    3:Map network drive s Z which will

    \\server\net

    plz hel me in this procedure
    thanks

  • #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: http://www.computerperformance.co.uk...onnections.htm

    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 http://tonyyeb.blogspot.com

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

    Comment


    • #3
      Re: Final tested Script

      and also search the forums....
      for example:
      http://forums.petri.com/showthread.php?t=404

      and also see this:
      http://forums.petri.com/showthread.php?t=300
      Marcel
      Technical Consultant
      Netherlands
      http://www.phetios.com
      http://blog.nessus.nl

      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"

      Comment

      Working...
      X