I have been trying to get the profile folder for local users with no success. I am using the following relevance"
profile folder of local user "administrator"
No matter what user I use, I am getting a blank return. I thought it might be something that wasn’t working in the debugger, so I put it into an analysis with the same blank result. Any ideas? Thanks.
I found a work around, but as is customary for work arounds, it is pretty ugly:
value of variable "SystemDrive" of environment & ((following text of first "e%25" of it)of (preceding text of last "%00" of it) of (value "ProfileImagePath" of key ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\" & (component string of sid of local user "administrator")) of registry as string))
It only works if the profile folder is on the system drive, but it is going to be there 99.9% of the time unless someone hacked the registry to move them else where. The main thing I was concerned about was dealing with the .001, computer names, and domain names that get tacked onto the end of the profiles when there is a conflict or corruption. It would be nice if the inspector could be fixed in a future version.