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

# EditFlags Element (MicrosoftGame.config)

> 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](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)


## Related topics

- [MicrosoftGame.config element reference (contents)](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [FileTypeAssociation Element (MicrosoftGame.config)](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-filetypeassociation.md)
- [Executable Element (MicrosoftGame.config)](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-executable.md)
- [Game Element (MicrosoftGame.config)](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [Protocol Element (MicrosoftGame.config)](https://docs.xbox.com/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-protocol.md)
