For just refresh try this : #NoTrayIcon #include <Array.au3> _UpdateExplorer ( ) Func _UpdateExplorer ( ) Local $_WinOpt = Opt ( "WinSearchChildren", True ), $_PARAM = 107040 If @OSVersion = "WIN_XP" Then $_PARAM = 28931 $_WinListArray = WinList ( "[REGEXPCLASS:(Explore|Cabinet)WClass]" ) For $_I = 0 To UBound ( $_WinListArray ) - 1 DllCall ( "user32.dll", "long" , "SendMessage", "hwnd", $_WinListArray[$_I][1], "int", 0x111, "int" , $_PARAM , "int" , 0 ) Next $_WinListArray = WinList ( "[REGEXPCLASS:(Progman|#32770|SHELLDLL_DefView)]" ) For $_I = 0 To UBound ( $_WinListArray ) - 1 DllCall ( "user32.dll", "long" , "SendMessage", "hwnd", $_WinListArray[$_I][1], "int", 0x111, "int" , $_PARAM , "int" , 0 ) Next EndFunc ;==> _UpdateExplorer ( ) But you need to restart explorer for apply your changes like here