Solved

How to script a WebDAV desktop icon using group policy.

Posted on 2007-12-03
3
1,436 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Over the past decade, as Internet security has become a chief concern of IT professionals, one of the most common questions administrators and users ask is, “Which is more secure, SFTP or FTPS?” In short, both file transfer protocols offer a high…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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, f…
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…

828 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