Login script

  • Thread starter Thread starter Jereka
  • Start date Start date
J

Jereka

How do one write a login script to add a shortcut on
desktop for a group of users.
 
Jereka said:
How do one write a login script to add a shortcut on
desktop for a group of users.

Add this line to your existing script:

xcopy /d /y \\YourServer\Netlogon\SomeApp.lnk
%AllUsersProfile%\desktop > nul
(unwrap line)
 
Pegasus (MVP) said:
Add this line to your existing script:

xcopy /d /y \\YourServer\Netlogon\SomeApp.lnk
%AllUsersProfile%\desktop > nul
(unwrap line)

Note, this may require local admin access. The shortcut could be added
to the user's personal desktop with a slight modification:

xcopy /d /y \\YourServer\Netlogon\SomeApp.lnk "%UserProfile%\desktop" >
nul
 
Pegasus said:
Add this line to your existing script:

xcopy /d /y \\YourServer\Netlogon\SomeApp.lnk
%AllUsersProfile%\desktop > nul
Hi

Note that when copying a common link file from a share, you need to
watch out for distributed link tracking that follows the file.
Use e.g. Scut.exe to make them non-tracking before copying the file
out to different computers.

Download link for Scut.exe found at bottom of this post:

http://groups.google.com/[email protected]

More about Link Tracking here:
http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/prkc_fil_ngyp.asp


Alternatively, create the shortcut on the fly with vbscript or
a command line tool, more about this here:

http://groups.google.com/groups?selm=#[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top