• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 586
  • Last Modified:

block autoplay for network share drives

how can i block autoplay for network mapped share drives. I dnt want to applied through domain leve policy is there any  computer level policy which i can applie

i only want my users to open the mapped share drive through explorer.

1 Solution
DonNetwork AdministratorCommented:
Read here for an Advanced Autorun / Autoplay settings ADM file

NikSystems SpecialistCommented:
samithsukumarAuthor Commented:
is there any way to force my user to open my network share drive through explorer.rather than double clicking on drive.
DonNetwork AdministratorCommented:
You could use a logon script as in example below, that maps the drive and creates a shortcut on the users desktop.

Dim WshNetwork,objFSO
WshNetwork.MapNetworkDrive "W:", "\\server1\Accounting$",True 
        	Set objFSO = CreateObject("Scripting.FileSystemObject")
       	    	 strDsk = WshShell.SpecialFolders("Desktop")
       	 	' What is the label for the shortcut?
       	   	  strshortcut = strDsk & "\Accounting.lnk"
       		 If Not objFSO.FileExists(strshortcut) Then
          	  SET oUrlLink = WshShell.CreateShortcut(strshortcut)
        	' What is the path to the shared folder?
           	 oUrlLink.TargetPath = "\\server1\Accounting$\"
       		 End If

Open in new window

Nice grade....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now