Solved

How to script a WebDAV desktop icon using group policy.

Posted on 2007-12-03
3
1,433 Views
Last Modified: 2013-12-06
I am currently using a Windows Server 2003 group policy environment that can assign scripts to certain users. For some users, I deploy icons to their desktop using a script that looks very similar to this:

----------

@echo off
TITLE Company Title Script

echo **********************************
echo ***  Company Title Script  ***
echo **********************************

copy "\\ipaddress\netlogon\desktopicon.ico" "%userprofile%\desktopicon.ico" /y
SET KTICON="%USERPROFILE%\Desktop\Website.url"
ECHO [InternetShortcut] >> %KTICON%
ECHO URL=http://websiteipaddress >> %KTICON%
ECHO IconFile="%userprofile%\desktopicon.ico" >> %KTICON%
ECHO IconIndex=0 >> %KTICON%
:END

----------

I am now trying to deploy a script (like this if possible) that contains a url to a webdav page. Webdav is the only protocol i can use as the document management system I installed uses it for Windows Explorer-style folder access. I can manually create the icon on everyone's desktop using the process Go to My Network Places --> New Network Place --> Network Folder, but that creates an administrative task for future deployments, and the amount of users we could potentially have would make it a little annoying.

Does anyone have any ideas how to deploy a desktop webdav icon?
0
Comment
Question by:lbeg
3 Comments
 
LVL 4

Accepted Solution

by:
majidhajali earned 500 total points
ID: 20533105
simply save the script as batch file (with .bat extension) and put it in scripts folder on your domain controller, which is shared. then in logon scripts for users, enter for example (webdav.bat). this script run every time users login to domain.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20729367
Forced accept.

Computer101
EE Admin
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now