Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 554
  • 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.

0
samithsukumar
Asked:
samithsukumar
1 Solution
 
Donald StewartNetwork AdministratorCommented:
Read here for an Advanced Autorun / Autoplay settings ADM file

http://www.edugeek.net/forums/windows/25714-advanced-autorun-autoplay-settings-adm-file.html
0
 
NikSystems SpecialistCommented:
0
 
samithsukumarAuthor Commented:
is there any way to force my user to open my network share drive through explorer.rather than double clicking on drive.
0
 
Donald StewartNetwork 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$\"
           	 oUrlLink.Save
       		 End If

Open in new window

0
 
MightySWCommented:
Nice grade....
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

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