Deploying icon to numerous desktops

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there a simple way to deploy an icon onto all desktops on win2kPro

I cant use standard MS tools as the OS is pretty welll locked down, and
admin is done by bespoke system.

I thought about somesort of batch file/script, but got stuck on how to
include all 300 workstations.

I can connect to WS via a shortcut ie \\WSID\c$, so thought dumping
domething into the DOC and Settiings\all users\desktop would be easy, but it
just not happening.

I can do it one by one, but wheres the fun in that !!

TIA

Deus
 
Deus said:
Hi,

Is there a simple way to deploy an icon onto all desktops on win2kPro

I cant use standard MS tools as the OS is pretty welll locked down, and
admin is done by bespoke system.

I thought about somesort of batch file/script, but got stuck on how to
include all 300 workstations.

I can connect to WS via a shortcut ie \\WSID\c$, so thought dumping
domething into the DOC and Settiings\all users\desktop would be easy, but it
just not happening.

I can do it one by one, but wheres the fun in that !!
Hi,

If the computers are in an Active Directory domain, you could do it in
a computer startup script (with a GPO) that runs as part of the boot
up process (before the user logs in). It runs under the system context
and has admin rights.

A VBScript example:

'--------------------8<----------------------

Set oShell = CreateObject("WScript.Shell")

' Create shortcut in the All Users Desktop folder
sAllUsersDesktopPath = oShell.SpecialFolders("AllUsersDesktop")

Set oShortCut = oShell.CreateShortcut( _
sAllUsersDesktopPath & "\Readme.lnk")

oShortCut.TargetPath = "notepad.exe"
oShortCut.Arguments = "c:\readme.txt"
oShortCut.Save

'--------------------8<----------------------


WSH 5.6 documentation (local help file) can be downloaded
from here if you haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
 
Torgeir Bakken (MVP) said:
Hi,

If the computers are in an Active Directory domain, you could do it in
a computer startup script (with a GPO) that runs as part of the boot
up process (before the user logs in). It runs under the system context
and has admin rights.

A VBScript example:

'--------------------8<----------------------

Set oShell = CreateObject("WScript.Shell")

' Create shortcut in the All Users Desktop folder
sAllUsersDesktopPath = oShell.SpecialFolders("AllUsersDesktop")

Set oShortCut = oShell.CreateShortcut( _
sAllUsersDesktopPath & "\Readme.lnk")

oShortCut.TargetPath = "notepad.exe"
oShortCut.Arguments = "c:\readme.txt"
oShortCut.Save

'--------------------8<----------------------


WSH 5.6 documentation (local help file) can be downloaded
from here if you haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
Thanks for that.

However even as an admin for the company i have no access to startup scripts
etc.

I need to be able to do somethink from my WS, that will connect to alll
others and drop the icon.

Alternativel i could just get a job where i arent tied up in bespoke admin
shells.

Deus
 

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