locked
How does Windwos XP know the "Status" of a profile? RRS feed

  • Question

  • In Windows Vista there is a WMI interface to get the status of a profile.  I need to write a script that deletes profiles that are in a certain status.  I know how to determine what the type of profile is, but I need to delete roaming profiles that are in backup and local status.

    Any help with how Windows XP determines the status of a profile would be awesome!  I am assuming at some level that the "status" is determined based in part by the name of the profile directory in the C:\documents and settings\ directory.

    Thanks,

    Fred

    Wednesday, October 12, 2011 4:52 PM