The solution is to give the user write access to the directory 'C:\'. Aparently the pcw.exe creates a file 'debug.txt' at that location. As to why I dont know.
I am using the CCS IDE to teach students all about PIC's. I installed the complier on a windows XP machine and can compile perfect when I am looged in with admin rights. The story changes for user acc ...