# US 2005/0091192 A1 · Dynamically identifying dependent files of an application program or an operating system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0091192 A1
- Document ID: US20050091192A1
- Status: Published application
- Kind: A1
- Application number: 10/963,479
- Filed: 2004-10-12
- Published: 2005-04-28
- Earliest claimed: 2003-10-24
- Assignees: Microsoft Corporation
- Inventors: David Probert; Eric Li; John Rector
- Web page: https://patentgrep.com/patent/US20050091192A1

## CPC

- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G06F 8/62: {Uninstallation}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 2221/2145: Inheriting rights or properties, e.g., propagation of permissions or restrictions within a hierarchy
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Tracking creation of one or more files by an application program or operating system. A method of the invention dynamically maintains a list of files or other resources associated with a particular application program or operating system. The method maintains the list by detecting creation of a file, determining an identity for the file, identifying a list associated with the file identity, and adding the file to the list.

## Claims

### Claim 1

A method for tracking creation of one or more files associated with an application program, said method comprising:
detecting creation of a file by an application program;
determining an identity for the detected file;
identifying a list associated with the determined identity, said list representing a collection of files associated with the application program; and
adding the detected file to the identified list.

### Claim 2 (depends on 1)

The method of claim 1, wherein detecting creation of the file by the application program comprises detecting creation of the file by the application program during execution of the application program.

### Claim 3 (depends on 1)

The method of claim 1, wherein detecting creation of the file by the application program comprises detecting creation of the file by the application program during installation of the application program.

### Claim 4 (depends on 1)

The method of claim 1, wherein detecting creation of the file by the application program comprises detecting creation of a user file by the application program responsive to a request from a user.

### Claim 5 (depends on 1)

The method of claim 1, further comprising distinguishing between creation of a user file and creation of an application file.

### Claim 6 (depends on 1)

The method of claim 1, further comprising analyzing metadata to determine whether the file is user-specific or application-specific.

### Claim 7 (depends on 1)

The method of claim 1, wherein detecting creation of the file by the application program comprises detecting creation of a name in a system namespace.

### Claim 8 (depends on 7)

The method of claim 7, wherein detecting creation of the name in the system namespace comprises detecting creation of a directory in a file system.

### Claim 9 (depends on 1)

The method of claim 1, wherein one or more computer-readable media have computer-executable instructions for performing the method recited in claim 1.

### Claim 10

One or more computer-readable media having computer-executable components for tracking creation of one or more files associated with an application program, said components comprising:
a filter component for detecting creation of a file by an application program;
an identity component for determining an identity for the detected file;
a list component for identifying a list associated with the determined identity, said list representing a collection of files associated with the application program; and
a maintenance component for adding the detected file to the identified list.

### Claim 11 (depends on 10)

The computer-readable media of claim 10, wherein the filter component detects creation of the file by the application program during execution of the application program.

### Claim 12 (depends on 10)

The computer-readable media of claim 10, wherein the filter component detects creation of the file by the application program during installation of the application program.

### Claim 13 (depends on 10)

The computer-readable media of claim 10, wherein the filter component detects creation of a user file by the application program responsive to a request from a user.

### Claim 14 (depends on 10)

The computer-readable media of claim 10, wherein the filter component distinguishes between creation of a user file and creation of an application file.

### Claim 15

A method for tracking creation of one or more resources associated with an operating system, said method comprising:
determining an identity for an operating system;
detecting creation of a resource by the operating system during installation of the operating system;
identifying a list associated with the determined identity, said list representing a collection of resources associated with the operating system; and
adding the detected resource to the identified list.

### Claim 16 (depends on 15)

The method of claim 15, wherein detecting creation of the resource comprises detecting creation of the resource by the operating system during an update to the operating system.

### Claim 17 (depends on 15)

The method of claim 15, further comprising determining an identity for the detected resource.

### Claim 18 (depends on 15)

The method of claim 15, wherein detecting creation of the resource by the operating system during installation of the operating system comprises detecting creation of a file by the operating system.

### Claim 19 (depends on 15)

The method of claim 15, wherein detecting creation of the resource by the operating system during installation of the operating system comprises detecting creation of a system setting by the operating system.

### Claim 20 (depends on 15)

The method of claim 15, wherein one or more computer-readable media have computer-executable instructions for performing the method recited in claim 15.

### Claim 21

A system for tracking resource usage comprising:
a memory area for storing one or more resource lists, each of the one or more resource lists representing a collection of resources; and
a processor configured to execute computer-executable instructions for:
detecting creation of a resource;
determining an identity for the detected resource;
identifying a resource list associated with the determined identity from the one or more resource lists stored in the memory area; and
adding the detected resource to the identified resource list.

### Claim 22 (depends on 21)

The system of claim 21, wherein the memory area further comprises one or more runtime object lists, each of said runtime object lists being associated with an executable object, and wherein the processor is further configured to execute computer-executable instructions for:
detecting creation of another runtime object;
determining an identity for the created runtime object;
identifying a runtime object list associated with the determined identity from the one or more runtime object lists stored in the memory area; and
adding the detected runtime object to the identified runtime object list.

### Claim 23 (depends on 22)

The system of claim 22, wherein each of the runtime object lists stored in the memory area comprises a list of one or more of the following: a process, a thread, a fiber, a work item, an application program, and an operating system.

### Claim 24 (depends on 22)

The system of claim 22, wherein each of the runtime object lists stored in the memory area is associated with an executable object.

### Claim 25 (depends on 22)

The system of claim 22, wherein the executable object comprises one or more of the following: an application program, a process, a thread, a fiber, a work item, and an operating system.

### Claim 26 (depends on 21)

The system of claim 21, wherein each of the resource lists stored in the memory area comprises one or more of the following: a named object, an application programming interface, a file, a folder, and a system setting.

### Claim 27 (depends on 21)

The system of claim 21, wherein each of the resource lists stored in the memory area comprise one or more of the following: a registry key and a registry value.

### Claim 28

A computer-readable medium having stored thereon a data structure for managing access by a collection of objects to one or more resources, said data structure comprising:
a dynamic list of runtime objects, each of said runtime objects having a common property; and
a set of privileges defining access by the runtime objects to at least one resource.

### Claim 29 (depends on 28)

The computer-readable medium of claim 28, wherein the set of privileges comprises a set of one or more of the following: rules, properties, attributes, authorized actions, and unauthorized actions.

### Claim 30 (depends on 28)

The computer-readable medium of claim 28, wherein the set of privileges is stored on each of the runtime objects.

### Claim 31 (depends on 28)

The computer-readable medium of claim 28, wherein the set of privileges is stored in a manifest associated with an application program.

### Claim 32 (depends on 28)

The computer-readable medium of claim 28, wherein the set of privileges is stored in an extensible markup language manifest associated with an application program.
