|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Deploying icon to numerous desktopsIs 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 Deus DNE wrote:
Show quoteHide quote > Hi, If the computers are in an Active Directory domain, you could do it in> > 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, 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
Show quote
Hide quote
"Torgeir Bakken (MVP)" wrote: Thanks for that.> 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 > > 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
no online connection
Pentium 4 and end of life for w2k Pro?? Can't open Network and Dial-up properties Slow 2000 Server and 2000/XP Pro Performance following Windows Updates Task Scheduler not run Cannot join domain: Network path not found... tasks started as a Scheduled Task sometimes quits How to move Windows 2000/2003 to another hardware Removing Windows 2000 installed games roaming profiles |
|||||||||||||||||||||||