Announcement

Collapse
No announcement yet.

How to send shorcuts to domain users desktop

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to send shorcuts to domain users desktop

    Hi
    I am new to windows 2000 server
    can any one tell me how to send the shortcuts to users dekstop

    regards
    N

  • #2
    maybe trough scripts?
    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


    • #3
      How to send shorcuts to domain users desktop

      Can you send me the scripts to send
      shortcuts to domain users desktop

      regards
      Naveed

      Comment


      • #4
        Re: How to send shorcuts to domain users desktop

        Originally posted by njunejo
        Can you send me the scripts to send
        shortcuts to domain users desktop

        regards
        Naveed
        This should be asked in the Scripting forum, perhaps a Mod can move the thread? I'll go ahead and answer the question.

        Here's a VBScript to do what you've asked.

        Place it in the NETLOGON share.

        C:\WINDOWS\SYSVOL\sysvol\yourdomain\SCRIPTS

        Code:
        Dim strDesktop
        
        Set Shell = CreateObject("WScript.Shell")
        strDesktop = Shell.SpecialFolders("Desktop")
        Set lnk = Shell.CreateShortcut(strDesktop & "\LinkName.lnk")
        
        With lnk
        .TargetPath = "x:\FileName.exe"
        .Arguments = ("/12345")
        .WorkingDirectory = "x:\WorkingDir"
        .WindowStyle = 1
        .Hotkey = "CTRL+SHIFT+F"
        .IconLocation = "Explorer.exe, 0"
        .Description = "Blah"
        .Save
        End With
        I suggest you run it once on your machine in its current state, note what each of the properties does, then keep what you want. Learn VBScript, every self respecting System Admin should know at least a little.

        Note: Daniel if you read this, I am beginning to feel your pain.
        Andrew

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

        Comment


        • #5
          Moved to scripting for relevance

          Tom
          Tom Jones
          MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
          PhD, MSc, FIAP, MIITT
          IT Trainer / Consultant
          Ossian Ltd
          Scotland

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

          Comment

          Working...
          X