I need to use environment variables in a scheduled policy. My scheduled
policy is running as interactive user but it doesn't access windows
environment variables like %COMPUTERNAME%.

I can solve this by calling a batch file but that brings up a window and
i don't want any extra windows that might confuse my users.

I also tried using "start" to call the batchfile but this doesn't seem
to work from a scheduled policy.