text
stringlengths
0
4.23k
/?
Displays help at the command prompt.
Remarks
After each user has a unique temporary folder, use flattemp /enable to enable flat temporary folders.
flattemp /enable
The default method for creating temporary folders for multiple users (usually pointed to by the TEMP and TMP environment variables) is to create subfolders in the \Temp folder, by using the logonID as the subfolder name. For example, if the TEMP environment variable points to C:\Temp, the temporary folder assigned to the user logonID 4 is C:\Temp\4.
Using flattemp, you can point directly to the \Temp folder and prevent subfolders from forming. This is useful when you want the user temporary folders to be contained in home folders, whether on an Remote Desktop Session Host server local drive or on a shared network drive. You should use the flattemp /enable* command only when each user has a separate temporary folder.
flattemp /enable*
You might encounter app errors if the user's temporary folder is on a network drive. This occurs when the shared network drive becomes momentarily inaccessible on the network. Because the temporary files of the app are either inaccessible or out of synchronization, it responds as if the disk has stopped. Moving the temporary folder to a network drive is not recommended. The default is to keep temporary folders on the local hard disk. If you experience unexpected behavior or disk-corruption errors with certain applications, stabilize your network or move the temporary folders back to the local hard disk.
If you disable using separate temporary folders per-session, flattemp settings are ignored. This option is set in the Remote Desktop Services Configuration tool.
Examples
To display the current setting for flat temporary folders, type:
flattemp /query
To enable flat temporary folders, type:
flattemp /enable
To disable flat temporary folders, type:
flattemp /disable
fondue
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Enables Windows optional features by downloading required files from Windows Update or another source specified by Group Policy. The manifest file for the feature must already be installed in your Windows image.
Syntax
fondue.exe /enable-feature:<feature_name> [/caller-name:<program_name>] [/hide-ux:{all | rebootrequest}]
Parameters
Parameter
Description
/enable-feature:<feature_name>
Specifies the name of the Windows optional feature you want to enable. You can only enable one feature per command line. To enable multiple features, use fondue.exe for each feature.
/caller-name:<program_name>
Specifies the program or process name when you call fondue.exe from a script or batch file. You can use this option to add the program name to the SQM report if there is an error.
/hide-ux:{all | rebootrequest}
Use all to hide all messages to the user including progress and permission requests to access Windows Update. If permission is required, the operation will fail.Use rebootrequest to only hide user messages asking for permission to reboot the computer. Use this option if you have a script that controls reboot requests.
<feature_name>
<program_name>
{all | rebootrequest}
Use rebootrequest to only hide user messages asking for permission to reboot the computer. Use this option if you have a script that controls reboot requests.
Examples
To enable Microsoft .NET Framework 4.8, type:
fondue.exe /enable-feature:NETFX4
To enable Microsoft .NET Framework 4.8, add the program name to the SQM report, and not display messages to the user, type:
fondue.exe /enable-feature:NETFX4 /caller-name:Admin.bat /hide-ux:all
for
Runs a specified command for each file, within a set of files.
Syntax
for {%% | %}<variable> in (<set>) do <command> [<commandlineoptions>]
Parameters
Parameter
Description
{%% \| %}<variable>
Required. Represents a replaceable parameter. Use a single percent sign (%) to carry out the for command at the command prompt. Use double percent signs (%%) to carry out the for command within a batch file. Variables are case sensitive, and they must be represented with an alphabetical value such as %a, %b, or %c.
(<set>)
Required. Specifies one or more files, directories, or text strings, or a range of values on which to run the command. The parentheses are required.
<command>
Required. Specifies the command that you want to carry out on each file, directory, or text string, or on the range of values included in set.
<commandlineoptions>
Specifies any command-line options that you want to use with the specified command.
/?
Displays help at the command prompt.
{%% \| %}<variable>
%
%%
<set>
<command>
<commandlineoptions>
Remarks