Does the roaming folder would be lock or delete by OS when domain user login another PC?

Ace Wang 1 Reputation point
2023-02-02T01:52:36.35+00:00

Our App save same runtime data to C:\Users*MyUserName*\AppData\Roaming

it's work well most time, but sometimes would cause to crash in fwrite when operate files under Roaming folder, Not always one file . We have checked all code logic . fwrite would cashed after fopen succeed.

Now we found that Roaming folder would be synchronize with different PC when use same domain account. Does there exist any possible that the roaming folder would be locked or deleted by OS when domain user login another PC?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,175 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 43,976 Reputation points
    2023-02-02T17:31:02.18+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query.

    Roaming folders are not locked or deleted when a domain user logs into another computer. Instead, the files in the roaming folder are synchronized across all computers that the user logs into, so that the user has the same files and settings on each computer. However, the user will only have access to the roaming folder and its contents if they have the access permissions set on the server that is hosting the roaming folder.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments