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: Minimal/Custom startup environment(s).

27 Jun 2013   #1
SteveZ87

Windows 7 Ultimate x64
 
 
Setting up minimal/custom startup environment(s)?

I'm running Win7 Ultimate x64 and was wondering if it's possible to have custom boot options in the boot menu on startup. Basically, I want to have a custom environment for doing certain tasks. Since I do music production/recording, photo editing, gaming, etc., I'd like to have a clean environment just for using those programs only. No other programs/services should be running except those that are needed by those programs. Not even the desktop should load. Maybe network services, but that's it.

Here's an example of what the boot menu would (preferably) look like:

Code:
Windows 7 Normal Boot
Windows 7 Custom Boot
Ideally, I'd like to have a command prompt on startup listing program options for what I want to do, or just load a basic desktop with programs I specify to be there.

For instance in the command prompt scenario:

Code:
Please select the program you would like to run:

1. Program
2. Program
3. Program
4. Game
5. Game
6. ....
7. ....
8. etc.
or

Code:
Menu

1. Programs
2. Games
These are just examples and would probably look a bit different when all is said and done. In essence it would be kind of like running safe mode, except not.


My System SpecsSystem Spec
.
28 Jun 2013   #2
Dsprague

Microsoft Community Contributor Award Recipient

Windows 7 enterprise 64 bit, Windows 7 Pro 64 bit ,Windows 8 64bit
 
 

As far as I know the closest you can get to what your asking for (without illegally modifying windows source code) is clearing the start up folder of all the things you don't want/need there here is a tutorial on how to do that:

Troubleshoot Application Conflicts by Performing a Clean Startup

If this were mac or linux I would tell you to change the run level in the init file but unfortunately as far as I know there is no way to boot directly into a command line like that on windows. the best I can offer is a sample of a batch script I wrote with a similar menu system to what you are looking for that I use as a launcher for various administrative tasks:

Code:
:verystart
@echo off
setlocal ENABLEDELAYEDEXPANSION
COLOR 4F
title Elevated Launcher (%username%)


rem ======================= EDIT ME ============================
rem === You can Add your programs to this list below.       ====
rem === Syntax: Key,Title,Command                           ====
rem ============================================================

set PROGRAM_01=1,Remote Control, goto RC
set PROGRAM_02=2,Console,start mmc c:\Console1.msc
set PROGRAM_03=3,Internet Explorer,start iexplore
set PROGRAM_04=4,Registry Editor,start regedit
set PROGRAM_05=5,Services,start services.msc
set PROGRAM_06=6,Command Prompt, start cmd.exe /T:4F /k title **** Admin Console ****
set PROGRAM_07=7,Reboot System,goto RB
SET PROGRAM_08=8,Power Shell,start powershell_ise
set PROGRAM_09=E,Edit Launcher,start notepad %0
set PROGRAM_10=R,Refresh Launcher,goto verystart
set PROGRAM_11=x,Exit,goto :EOF
set PROGRAM_12=
set PROGRAM_13=
set PROGRAM_14=
set PROGRAM_15=

:start

set Choice=/C 



echo --- Select which program to launch ---
FOR /F "tokens=2-4* delims=_=," %%A IN ('SET PROGRAM_') DO (
    @ECHO %%B] %%C

    set Choice=!Choice!%%B
)
echo --------------------------------------

choice %Choice%


FOR /F "tokens=2-4* delims=_=," %%A IN ('SET PROGRAM_') DO (
    IF ERRORLEVEL == %%A set program=%%D
)

cls
%program%

goto start


:rb
set /p system="Reboot System (C to cancel):"
if %system%==c (
cls
echo Canceled
goto start

)
echo Attempting to reboot %system%
shutdown /m %system% /r /t 0
choice /t 30 /d N /c YN /m "Ping System?"
if errorlevel=2 goto start
start cmd /c ping %system% -t -4

goto start
rem end of RB

:rc
set /p system="RC Hostname (C to cancel):"
if %system%==c (
cls
echo Canceled
goto start
)
echo Attempting to remote control %system%
start /d "C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\bin\i386\" rc.exe 1 %system%

goto start
rem end of RC
My System SpecsSystem Spec
29 Jun 2013   #3
bobafetthotmail

Win 7 Pro 64-bit 7601
 
 

The stuff the guy above said, coupled with making different user accounts, and each user account sees only the programs it wants to use (when you install the programs you select to install them for the Admin and another user and/or follow the advice in this thread), has its own desktop, and whatnot.

So that when you login you have the Admin account, the Musician account, the Gamer account, and whatever.

You can add that batch script at startup of each user running elevated without any prompts by following this tutorial. You can turn on/off services by command line by using these commands. That you can write in that batch file as well.
My System SpecsSystem Spec
.

Reply

 Minimal/Custom startup environment(s).




Thread Tools






Similar help and support threads
Thread Forum
BSOD on startup of custom laptop. Referenced Pool Error
A client's computer has been behaving strangely the last couple days. He had a BSOD this morning and I was able to get the minidump file. The BSOD referenced a pool error. Any insight on what might have caused this?
BSOD Help and Support
custom orb errors startup
I decided I would change my start orb and it did work. But now every time I start my computer up I get explorer errors about it couldn't find certain files or something but then after I spam the enter button for ok to confirm I know, my computer works fine. Just kind of annoying to see it every...
Customization
welcome screen ~50 sec load - minimal startup/services
Hey guys, Im experienced a very slow welcome screen after restarts, averaging 50 seconds. I have tried a few things so far to fix this but not luck Heres what i have tried: 1. Clean boot - welcome screen took 45 sec
Performance & Maintenance
Windows 7 Startup Error Failure To Initial Environment (MFC)
When I start Windows 7 about 30 seconds after the login, I see an error message popping up that says: "Failed to initial environment". In the task bar I see the an icon that writes MFC, which is the program that gives the error message. I looked in my task manager under processes if I see MFC, but...
General Discussion
Custom toolbar on taskbar startup path problem
Hi there, I've got different source trees, and each tree has a Shortcut folder (of which I add the shortcut folder to the taskbar) From the custom toolbar I want to be able to execute the shortcuts (.lnk file to actual bat files somewhere else in my source tree). Now the problem is all...
Customization
Custom startup ?
Hi, At the moment i cant find any way to use my own sound startup in Windows 7 RC1 ? is this possible ? any advice appreciated http://i427.photobucket.com/albums/pp351/J-E-/Seven/cb720c7d.jpg
Sound & Audio


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 17:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App