Deploying icon to numerous desktops

G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

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
--
DNE
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

Deus DNE wrote:

> 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, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

"Torgeir Bakken (MVP)" wrote:

> Deus DNE wrote:
>
> > 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
>
>
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
--
DNE