Today when i was scanning with Avast about 5 hours ago it detected [Drive]:\pagefile.sys as a Trojan. However, i am sure it was a false positive detection because I had just freshly-installed vista on my PC 1 week ago. So later on i googled it and found many similar result:
Most AV programs just ignore that file for the reasons detailed by YoKenny, you can however also configure them to ignore/exlude it giving the actual full path to it so as to not let an actual malware file slip into the system trying to impersonate it elsewhere.
Any file would be detected before it was able to get into pagefile.sys and either deleted or sent to the quarantine Chest depending on your choice.
If you have the Hibernate function active then the hiberfile.sys file would also not be able to be scanned.
Hello YoKenny!
@Asker: first I must say, yes, other friends are right, pagefile.sys is not possible to scan, but it's like your memory, if it's detected it must be because a malware is running in your computer and it's loaded to memory...