You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
concfg uses the following code to resolve roaming application data folder: $env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\<etc>
However in some (Enterprise) environments, the folder is redirected to a location outside the users profile folder (e.g. on a network share or on a different drive).
I would suggest to resolve the path like this: [environment]::GetFolderPath("applicationdata")
Or if it's the Start Menu folder you can query the path directly:
[environment]::GetFolderPath("StartMenu")
Output in my environment:
PS C:\> [environment]::GetFolderPath("StartMenu")
D:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu
PS C:\> "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu"
C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu
The text was updated successfully, but these errors were encountered:
concfg uses the following code to resolve roaming application data folder:
$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\<etc>
However in some (Enterprise) environments, the folder is redirected to a location outside the users profile folder (e.g. on a network share or on a different drive).
I would suggest to resolve the path like this:
[environment]::GetFolderPath("applicationdata")
Or if it's the Start Menu folder you can query the path directly:
[environment]::GetFolderPath("StartMenu")
Output in my environment:
The text was updated successfully, but these errors were encountered: