> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MicrosoftGame.config Element - EditFlags

> MicrosoftGame.config Element - EditFlags

# MicrosoftGame.config Element - EditFlags

Specifies Edit Flags controlling Windows system warnings for the File Type Association.

## Parent

This element's parent is the FileTypeAssociation element.

## Requirement

This element is optional and is not required to be set.

## Platform

This element only pertains to PC devices.

## Behavior

* Attributes are OpenIsSafe and AlwaysUnsafe.
* Default value is false for both OpenIsSafe and AlwaysUnsafe attributes.
* Allowed values are true and false for the OpenIsSafe and AlwaysUnsafe attributes.

## Remarks

If AlwaysUnsafe is set to true, a Windows dialogue box will appear warning about opening an unknown file.
If OpenIsSafe is set to true, a Windows dialogue box with a standard warning is present.
If both are set to true, AlwaysUnsafe will take precedent.

## See Also

[MicrosoftGame.config Reference - Table of Contents](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config Element - FileTypeAssociation](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-filetypeassociation.md)
- [MicrosoftGame.config Element - Executable](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-executable.md)
- [MicrosoftGame.config Element - Game](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [MicrosoftGame.config Element - Shareable](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-shareable.md)
- [MicrosoftGame.config Element - Dependency](/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-dependency.md)
