Jump to content

Recommended Posts

Posted

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

shutdown.PNG

Posted

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

Posted

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.

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...