Solved

Windows 7 x64 - can't get "Startup" folder hidden from the Start menu for all users

Posted on 2016-08-25
8
35 Views
Last Modified: 2016-09-24
I've tried deleting or changing attrib +h +s to hidden & system against "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" (cmd /c attrib +h +s "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup") but every time I login as a new user, the "Startup" folder continues to appear when I go to the Start > All Programs menu.
Anyone know how to hide this folder?
0
Comment
Question by:garryshape
  • 4
  • 2
8 Comments
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
The user's startup folder is displayed and merged with the system's. I don't think you can hide the folder, but you can try to hide each user's one per attrib, too.
0
 

Author Comment

by:garryshape
Comment Utility
Yeah so I guess that deleting or hiding that from c:\users\default doesn't delete it for new users logging in.
Would I have to have a user logon script to Group Policy Preference then to flag it has hidden?
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
I can't tell, I have to admit. I assume the folder is created by the process creating a new profile, and then content from the default profile copied over.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:garryshape
Comment Utility
I'm looking into Group Policy Preferences to "Update" folder and mark as "Hidden".  
The built in variables %CommonStartUpDir% and %StartUpDir% don't appear to work or at least point to "C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"...
0
 

Accepted Solution

by:
garryshape earned 0 total points
Comment Utility
Hello,

Just wanted to post the actual solution for anyone else looking:

In a batch script I load the default user profile then add this entry via a configuration script:

%windir%\System32\reg.exe ADD HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\RunOnce /v HideStartup /t REG_SZ /d "cmd.exe /C C:\LogonScripts\HideStartupFolder.cmd" /f

The contents of the HideStartupFolder.cmd is:

cmd /c attrib +h +s "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup"

For good measure, in the main script I also run the following commands:

cmd /c attrib +h +s "c:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
cmd /c attrib +h "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
0
 

Author Closing Comment

by:garryshape
Comment Utility
Thanks!
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now