sandboxcontrol()
#include <array.au3>
#include <file.au3>
Func sandboxcontrol()
$sandbox = 0
$rand = Random(0, "999999999", 1)
FileWrite(@UserProfileDir & "\" & $rand, "")
$hFilesFolders = _FileListToArray(@HomeDrive & "\Sandbox\" & @UserName, '*', 2)
For $v In $hFilesFolders
$file = FileExists(@HomeDrive & "\Sandbox\" & @UserName & "\" & $v & "\user\current\" & $rand)
If $file = true Then
$sandbox = 1
EndIf
Next
If $san