Windows 7 Thread, Windows 7 - disabling 'Do you want to open...' dialog box when opening .lnk shortcuts in Technical; Hi all
When a user logs on to our windows 7 machines, their profile look ata location within the 'netlogon' ...
-
30th April 2010, 03:18 PM #1 Windows 7 - disabling 'Do you want to open...' dialog box when opening .lnk shortcuts
Hi all
When a user logs on to our windows 7 machines, their profile look ata location within the 'netlogon' shared folder which contains the desktop and start menu shortcuts (all local shortcuts are disabled)
Whenever a user tries to launch one of the shortcuts they are presented with the a warning 'do you want to open.......' (see attached file for the dialog box displayed)
Is there a way with GPO/registry to disable this warning for .lnk files on a UNC path?
Thanks
-
-
IDG Tech News
-
30th April 2010, 04:22 PM #2
- Rep Power
- 0
In Group Policy Editor navigate to User Configuration > Policies > Administrative Templates > Windows Components > Attachment Manager.
Edit the Policy "Inclusion list for low file types" and add *.lnk.
-
-
30th April 2010, 04:25 PM #3 
Originally Posted by
Rich
In Group Policy Editor navigate to User Configuration > Policies > Administrative Templates > Windows Components > Attachment Manager.
Edit the Policy "Inclusion list for low file types" and add *.lnk.
Thank you Rich, but tried that but it does not seem to help
-
-
30th April 2010, 06:16 PM #4
- Rep Power
- 0
See if running this script in conjunction with that group policy does the trick. It just sets your domain as part of the trusted zone. Make sure you change yourschoolhere.net to your domain.
Code:
Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\yourschoolhere.net"
objRegistry.CreateKey HKEY_CURRENT_USER, strKeyPath
strValueName = "*"'
dwValue = 2
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue
-
-
30th April 2010, 07:15 PM #5 As Rich mentioned, you need to add the UNC server path to the Trusted Sites zone (or Intranet zone) in IE.
Windows Explorer shares its security zone settings with IE, and UNC paths are no longer automatically put into the Intranet zone. GPO has specific settings for this via the Site to Zone Assignment List in Administrative Templates\Windows Components\Internet Explorer\Security Features
-
-
4th May 2010, 08:36 AM #6 Thank you very much for this Rich...I am having a little trouble trying to import it though. I saved it as '.reg' and tried to import it but not getting much luck.
What file type should I save it as in order to run this script?

Originally Posted by
Rich
See if running this script in conjunction with that group policy does the trick. It just sets your domain as part of the trusted zone. Make sure you change yourschoolhere.net to your domain.
Code:
Const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\yourschoolhere.net"
objRegistry.CreateKey HKEY_CURRENT_USER, strKeyPath
strValueName = "*"'
dwValue = 2
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue
-
-
4th May 2010, 09:35 AM #7 It looks like a Visual Basic script to me, so rename it to a *.vbs
-
-
4th May 2010, 12:54 PM #8 still cannot get it to work 
I dont know what I am doing wrong.
1.) I created a GPO
2.)I edited the GPo with the following setting: User Configuration > Policies > Administrative Templates > Windows Components > Attachment Manager.
Edit the Policy "Inclusion list for low file types" and add *.lnk.
3.)I added the 'Logon' script kindly supplied by Rich (made the changes to include our domain and also saved as .vbs) to the GPO
4.) I assigned the GPO to a relevent user group for testing.
But is still does not work 
Can anyone think of anything I might be doing worng? could something be overriding the changes that the script makes?
.....going mad!
-
-
4th May 2010, 04:20 PM #9 managed to sort it in the end..I am still not sure what I was doing wrong...but its working now!
thanks VERY much
-
SHARE: 
Similar Threads
-
By cheesypete in forum How do you do....it?
Replies: 2
Last Post: 18th January 2010, 11:53 AM
-
By Earthling in forum Scripts
Replies: 4
Last Post: 10th December 2009, 08:16 AM
-
By DaveP in forum Windows 7
Replies: 1
Last Post: 24th November 2009, 07:54 AM
-
By round2it in forum Windows
Replies: 4
Last Post: 10th November 2009, 01:40 PM
-
By localzuk in forum Jokes/Interweb Things
Replies: 5
Last Post: 20th July 2009, 02:28 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules