FN-GM Posted May 12, 2011 Posted May 12, 2011 Hi, Does anyone know how to remove the icon shown in the screenshot please? Its showing for all users who log onto the computer. Thanks
Steve21 Posted May 12, 2011 Posted May 12, 2011 If it's "just" that one, it's only recently used. So can you just clear the recent used list? or does it keep returning? c: cd\ cd %USERPROFILE%\Recent\ del *.???.lnk cd\ cd %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Recent del *.???.lnk exit Think thats right Steve
FN-GM Posted May 12, 2011 Author Posted May 12, 2011 I think once you clear the icon its gone. But the staff have local profiles so could do with a way to clear it automatically. It also shows on students mandatory profiles, but when the profile was made this software wasnt installed.
Steve21 Posted May 12, 2011 Posted May 12, 2011 I think once you clear the icon its gone. But the staff have local profiles so could do with a way to clear it automatically. It also shows on students mandatory profiles, but when the profile was made this software wasnt installed. var fso = WScript.CreateObject(“Scripting.FileSystemObject”); var WSH = new ActiveXObject(“WScript.Shell”); var folder = WSH.SpecialFolders(“Recent”); fso.DeleteFile(folder + “\\*.*”); Should work if you change *.* to the name of the shortcut? Steve
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