Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I apply this setting to All Users?

19 Oct 2015   #1
laurshel

Windows 7 Enterprise 64-bit
 
 
How do I apply this setting to All Users?

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.


My System SpecsSystem Spec
.
19 Oct 2015   #2
Ztruker

Windows 10 Pro X64
 
 

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 System SpecsSystem Spec
19 Oct 2015   #3
laurshel

Windows 7 Enterprise 64-bit
 
 

It would be 40+ accounts.
My System SpecsSystem Spec
.

19 Oct 2015   #4
paul1149

Linux Lite 2.8 x64 (full-featured, fast, rock-solid)
 
 

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 System SpecsSystem Spec
19 Oct 2015   #5
Ztruker

Windows 10 Pro X64
 
 

My System SpecsSystem Spec
20 Oct 2015   #6
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Quote   Quote: Originally Posted by laurshel View Post
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 System SpecsSystem Spec
20 Oct 2015   #7
Ztruker

Windows 10 Pro X64
 
 

Why won't modifying the default local user profile work?
All additional profiles are created from it as far as I know.
My System SpecsSystem Spec
20 Oct 2015   #8
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
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 System SpecsSystem Spec
20 Oct 2015   #9
Ztruker

Windows 10 Pro X64
 
 

True. I was thinking of new accounts.
My System SpecsSystem Spec
Reply

 How do I apply this setting to All Users?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Local Group Policies - Apply to All Users Except Administrators
How to Apply Local Group Policies to All Users Except Administrators This tutorial will show you how to apply Local Group Policies to all users except administrators in Vista, Windows 7, Windows 8, and Windows 10. You must be logged in as an administrator to be able to do this tutorial....
Tutorials
How do you apply a folder's view settings and apply it to ALL others
For example I have a folder in my desktop with pictures, videos, documents, music, etc. I organized it by grouping by type, somewhere between large & extra large thumbnails, and a few other things. I want these settings applied to all other folders. I went to folder options and applied it to other...
Customization
Setting network drives across all users
I have a situation where I have folks logging into the domain with their respected credentials. I setup the first users with everything they needed and then realized I would need to imitate this over 4-5 other users on the same machine. Is there a way to do this more effectively rather than by...
Network & Sharing
Internet Explorer 10 Platform Preview 4: Win 7 users need not apply
Internet Explorer 10 Platform Preview 4: Windows 7 users need not apply
News
Setting up users win7
Hi, I was wondering if anyone can guide/explain setting up user groups. (I have low experience so bare with me) This is how far I have got: StartMenu > right click on computer > Manage > Local users and groups > Groups:
Installation & Setup
Any way to apply different permissions to users
Is there any way to apply different permissions to users on a work group? We are all using Windows 7 Professional All on same workgroup/other VPN All systems go, but would like to limit some users to certain areas without having to fire up server 2003 domain Thanks
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App