Stupidly Modified the C:\Users\Username\AppData native folder's attributes. Don't know if I have badly messed up


CSharpDev

Banned
Local time
8:06 AM
Posts
105
OS
Win11
So I wanted to synchronize that entire folder including all its subfolders and files with Google Drive (backup). Couldn't so that so I figured why not try to un-hide what's hidden. So I right-clicked the AppData folder, and un-checked the "Hidden" attribute box. The process started. Then I got some error messages saying I don't have the permission to change the Hidden/Unhidden attributes of some XML and other files. I clicked on "Skip All" and waited for the process to complete.

Now I have some of the files of the "Local" subfolder, for example, hidden and most un-hidden. I haven't deleted any of the files of the entire AppData native folder, only attempted to change the attributes of all of them from Hidden to Unhidden.

I think my best bet would be to restore all of the AppData's native folder's content to its original state. How can I do that?

Would

"dism /online /cleanup-image /restorehealth" followed by "sfc /scannow" do this, or how could I do that?

I have written the following script to check if any of the files remain hidden, to which the answer is YES:

Powershell:
# Define the folder path to check
$folderPath = "C:\YourFolderPathHere"

# Get all files and subfolders within the specified folder
$items = Get-ChildItem -Path $folderPath -Recurse

# Check if any item is not hidden
$notHidden = $items | Where-Object { -not $_.Attributes.HasFlag([System.IO.FileAttributes]::Hidden) }

if ($notHidden -eq $null) {
    Write-Output "All files and subfolders within $folderPath are hidden."
} else {
    Write-Output "Some files or subfolders within $folderPath are not hidden."
    $notHidden | Select-Object FullName
}
 

My Computer My Computer

At a glance

Win11
OS
Win11
Create a new user account/profile and copy your personal files to the new folders.
Do not delete the old Username folders and don't touch appdata.
Inplacement, Dism, SFC will not help.
Learn how to use a Backup program!
 

My Computer My Computer

At a glance

Windows 10Intel 6700HQ24AMD FirePro 5170M
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP ZBook
CPU
Intel 6700HQ
Motherboard
HP
Memory
24
Graphics Card(s)
AMD FirePro 5170M
Hard Drives
Samsung SSD 860 Pro
Keyboard
yes
Mouse
yes
Other Info
19045.3803
some Red Hat workhorses
Create a new user account/profile and copy your personal files to the new folders.
Do not delete the old Username folders and don't touch appdata.
Inplacement, Dism, SFC will not help.
Learn how to use a Backup program!

Here's what I did: I hid the entire AppData. Then upon realizing that normally AppData is hidden BUT its 3 subfolders are NOT hidden, I un-hid the 3 subfolders. I ddin't delete any files. Only ever changed the attributes

Am I trouble?
 

My Computer My Computer

At a glance

Win11
OS
Win11
dism & scm should fix corruptions - but you don't have such issue.

I don't really get the concern. Hidden or not - doesn't affect the OS functionality. Some files/folders are hidden -for the sake of being dumb-proof (in case a child starts deleting random files from from C:/ - files that happen to be needed by x app - since Windows files need extra steps to be deleted).
 

My Computer My Computer

At a glance

WinDOS 25H2Intel & AMDSO-DIMM SK Hynix 15.8 GB Dual-Channel DDR4-26...nVidia RTX 2060 6GB Mobile GPU (TU106M)
OS
WinDOS 25H2
Computer type
Laptop
CPU
Intel & AMD
Memory
SO-DIMM SK Hynix 15.8 GB Dual-Channel DDR4-2666 (2 x 8 GB) 1329MHz (19-19-19-43)
Graphics Card(s)
nVidia RTX 2060 6GB Mobile GPU (TU106M)
Sound Card
Onbord Realtek ALC1220
Screen Resolution
1920 x 1080
Hard Drives
1x Samsung PM981 NVMe PCIe M.2 512GB / 1x Seagate Expansion ST1000LM035 1TB
dism & scm should fix corruptions - but you don't have such issue.

I don't really get the concern. Hidden or not - doesn't affect the OS functionality. Some files/folders are hidden -for the sake of being dumb-proof (in case a child starts deleting random files from from C:/ - files that happen to be needed by x app - since Windows files need extra steps to be deleted).
So they don't do anything to programs or apps in terms of them running fine or not? Or date loading or not?
 

My Computer My Computer

At a glance

Win11
OS
Win11
A file that is Hidden is just not viewable to you, it doesn't affect the Windows OS, it can still See them.
 

My Computer My Computer

At a glance

Windows 11 Pro Insider 64 bit 25H2 26200.5742Intel Core i7 9700K 3.6016 GBnVidia GEForce RTX 2060 Super
OS
Windows 11 Pro Insider 64 bit 25H2 26200.5742
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte Z390 UD
CPU
Intel Core i7 9700K 3.60
Motherboard
Gigabyte Z390 UD
Memory
16 GB
Graphics Card(s)
nVidia GEForce RTX 2060 Super
Sound Card
onboard
Monitor(s) Displays
Two 27" Dell 4K monitors
Screen Resolution
3840 x 2160
Hard Drives
M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
PSU
850w PSU
Case
Cyberpower PC
Cooling
Water cooled
Keyboard
Backlit Cyberpower gaming keyboard
Mouse
Backlit Cyberpower gaming mouse
Internet Speed
1 GB mbps
Browser
Brave
Antivirus
Windows Security
Depends..., if you Hide the Startup folder in AppData/Roaming, and the objects in it, they won't start on boot.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
Create a new user account/profile and copy your personal files to the new folders.
No, do not copy files from one user account to another. It will screw up permissions big time. From old account copy files to external media. Create a new account and then copy from external media into new account.

The proper way to create a new account is in this thread, post#37 Thumbnail images VERY slow to load in File Explorer
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8875i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 25H2 26200.8875
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.8875AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.8875
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.8875
Leave it alone. All you've done is removed the hidden attribute from some files. That won't break anything.
 

My Computer My Computer

At a glance

Windows 10/11
OS
Windows 10/11
Computer type
Laptop
Manufacturer/Model
Acer
Back
Top Bottom