How do I apply this setting to All Users?

laurshel

New member
Local time
5:00 PM
Messages
2
Hi,

I am trying to set up a computer so that any user who logs in will have the following settings:

show hidden files, folders, or drives -- enabled
hide protected operating system files -- disabled
*In summary, all users should be able to see all hidden files, folders, drives and protected operating system files.

I know how to do this for a logged in user, but I want it to apply to everyone without having to touch every profile. Is this possible? The computer in question is Windows 7 32-bit.

Thanks in advance.
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Enterprise 64-bit
Computer type
PC/Desktop
OS
Windows 7 Enterprise 64-bit
How many users are you talking about? If it's only a few it would be quicker just to create the accounts then make the changes.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
It would be 40+ accounts.
 

My Computer My Computer

At a glance

Windows 7 Enterprise 64-bit
Computer type
PC/Desktop
OS
Windows 7 Enterprise 64-bit
It sounds something like this. I don't know if there's a simple way to preset settings in the Default user account, but if you'd be satisfied with semi-automatic, you could use the Windows Migration tool to save the desire settings, then import them for each new (and I'm assuming you're referencing new accounts, and not existing accounts on a domain) account with a few clicks. If it's just basic settings the import would be fast, but it's still a workaround.
 

My Computer My Computer

At a glance

Linux Lite 3.2 x64; Windows 7, 8.1Core2Duo 2.46GB ddr2nVidia
Computer type
PC/Desktop
Computer Manufacturer/Model Number
dell precision t3400 tower
OS
Linux Lite 3.2 x64; Windows 7, 8.1
CPU
Core2Duo 2.4
Memory
6GB ddr2
Graphics Card(s)
nVidia
Hard Drives
120gb SSD, 1TB HD, 2TB HD; sata II
Internet Speed
12/2
Browser
Vivaldi, Slimjet (Chromium) x64

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
I want it to apply to everyone without having to touch every profile. Is this possible?
That isn't possible; you're going to have to "touch" every profile.

To make things especially easy though, Laurshel, I've put together two scripts for you: one, VBScript, that will make appropriate registry changes to immediately show all hidden and system files; and the other will help you place this VBScript into the Startup folder of all user accounts.

A user's Startup folder can be found at "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup". Windows will automatically invoke all files in this folder during the user's logon.

The VBScript will delete itself after it's run.


ShowAllHiddenFiles.vbs
Code:
' Enable viewing of all hidden files in Explorer. I.e. under Folder Options,
'     Selects "Show hidden files, folders, and drives"
'     Unchecks "Hide protected operating system files (Recommended)"
 
Set WshShell = CreateObject("WScript.Shell")
Key = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
For Each I in Array("Hidden", "ShowSuperHidden")
    WshShell.RegWrite Key & "\" & I , 1, "REG_DWORD"
Next
 
WshShell.AppActivate("Program Manager")
WshShell.SendKeys("{F5}")
 
CreateObject("Scripting.FileSystemObject").DeleteFile WScript.ScriptFullName


CopyFileToStartupFolder.bat
Code:
@echo off
REM Copies a given file to each local users' startup folders. 
 
if "%~1"=="" exit /b
if not exist "%~1" exit /b 1
 
for /f "delims=" %%I in (' dir /a:d-h /b "C:\Users" ') do (
    copy "%~1" "C:\Users\%%~I\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
)

Simply place both scripts on your desktop, and drop the VBScript file onto the Batch file to copy it to all users' Startup folders.
 

My Computer My Computer

At a glance

Windows 10, Windows 8.1 Pro, Windows 7 Profes...
Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Why won't modifying the default local user profile work?
All additional profiles are created from it as far as I know.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Why won't modifying the default local user profile work?
All additional profiles are created from it as far as I know.
It is not totally clear from the posts, but I think that the OP wants to change 40+ existing profiles.

Pyprohly's solution handles that well.

There are scripts that can enumerate the users, load/change/unload all user hives... but they are complex.
 

My Computer My Computer

At a glance

W7 Pro SP1 64biti78GBIntel HD Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
True. I was thinking of new accounts.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top