mac_shinobi Posted March 10, 2007 Posted March 10, 2007 you can make a vbscript that un registers the windows picture and fax viewer dll silently and also enable windows classic shell so that if they select an image they dont get the shortcut on the left pane to set the image as a background image. regsvr32 -u %windir%\system32\shimgvw.dll
Phreadlock Posted March 10, 2007 Posted March 10, 2007 Cheer will check out monday. Does this work with paint ? i.e remove option from paint file menu set back ground. thanks in advance.
Phreadlock Posted March 10, 2007 Posted March 10, 2007 Just found a work around using http://www.angusj.com/resourcehacker/ Opened mspaint removed set as background recompiled using res hack, save as mspaint1.exe to desktop. click on mspaint1.exe and now menu item, no all i need to do place the hacked exe on our image. May come in very handy for other little problems seem a good tool.
mac_shinobi Posted March 10, 2007 Posted March 10, 2007 i got the command slightly wrong, its supposed to have a /u /s /u for un registering it and /s for silent so it does not prompt them also that just greys out the set as background and set as desktop image or w/e options you get in ms paint. I knew about resource hacker but didnt realise there was a tutorial on how to re compile mspaint to completely get rid of those options.
Guest monkeyx Posted October 3, 2007 Posted October 3, 2007 We had an issue this term with pupils using Picture and Fax Viewer to set their own wallpaper! In a previous ghost image I think we must have unregistered the dll associated with it, but forgot this time. Anyhow the the vbs script below deletes the following Registry Key. [HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview] I placed the script computers startup script (via GPO) and it has stopped the issue for us. ' Simple script to disable extended right click menu options ' in Windows Picture and Fax Viewer. Posted by tim @ monkeyx.net DelRegKey ( "SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview") Function DelRegKey (keyPath) Const HKEY_CLASSES_ROOT = &H80000000 strComputer = "." Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") oReg.DeleteKey HKEY_CLASSES_ROOT,keyPath End Function
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now