When I disable the GPO, running windows normally, the script works fine. Everything loads, values are read properly, etc.
When I enable the GPO, running the compiled ahk script as a Kiosk, the script fails. Every IniRead simply returns ERROR.
test.ahk (compiled into test.exe)
Code: Select all
#NoEnv
#Persistent
IniRead, t1, test.ini, Program, name
IniRead, t2, test.ini, Program, target
msgbox % "name = " . t1 . "`ntarget = " . t2
F1::
{
Reload
return
}
Code: Select all
[Program]
name=Notepad
target=Notepad.exe