Wes:
Oops again for you, I'm afraid. I know where the "Common Startup" and
"Startup" folders are located ... and the problem I stated is that
MSCONFIG contains lines pointing to objects that DON'T exist in those
folders. The icons were already removed (I'm not sure how or when) and
now I'd like to remove the lines in the start process. I know I can
"disable" the lines by unchecking them in MSCONFIG but that option can
be problematic since the system then boots in a "modified" manner and
seeing that message appear would unsettle this novice user. Any
suggestions?
:
Oops. Didn't see "Common Startup" and "Startup".
Common Startup is
%allusersprofile%\Start Menu\Programs\Startup
usually
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Startup is
%userprofile%\Start Menu\Programs\Startup
usually
C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
Paste into Start | Run the following two lines, one at a time and click
OK...
%allusersprofile%\Start Menu\Programs\Startup
%userprofile%\Start Menu\Programs\Startup
Delete the antisocial shortcuts.
-----
Here's a little more info about the System Configuration Utility
(msconfig.exe). And about %allusersprofile% & %userprofile%.
Msconfig.exe can handle startups from these locations...
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Load and Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
%allusersprofile%\Start Menu\Programs\Startup
%userprofile%\Start Menu\Programs\Startup
msconfig Startup Item, Command & Location
In the System Configuration Utility (msconfig.exe), items in the column
Startup Item get their names from:
1. The name of the shortcut in
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
or %allusersprofile%\Start Menu\Programs\Startup
2. The name of the shortcut in
C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
or %userprofile%\Start Menu\Programs\Startup
3. From the Value Name under the Name column in the registry under
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and other various startup locations in the registry.
In msconfig, items in the column Command get their names from:
1. The path to the startup item in
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
or %allusersprofile%\Start Menu\Programs\Startup
2. The path to the startup item in
C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
or %userprofile%\Start Menu\Programs\Startup
3. The path to the startup item in the Data column in the registry
under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and other various startup locations in the registry.
In msconfig, Common Startup listed in the Location column, refers to
%allusersprofile%\Start Menu\Programs\Startup
In msconfig, Startup listed in the Location column, refers to
%userprofile%\Start Menu\Programs\Startup
As far as I know anything else listed under the Location column refers
to whatever startup registry key...
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Load and Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
For any logged on user, Start button\All Programs\Startup contains
whatever is in both
%userprofile%\Start Menu\Programs\Startup
and
%allusersprofile%\Start Menu\Programs\Startup
-----
%userprofile% is an environment variable that is the path to the user's
home folder.
Typing or pasting %userprofile% into the Start | Run box opens to the
Documents and Settings folder on whatever drive it is located on for
the logged in user.
I.e. C:\Documents and Settings\Your Name Here
%allusersprofile% is an environment variable that is the path to the
All Users folder.
Typing or pasting %allusersprofile% into the Start | Run box opens to
the Documents and Settings\All Users folder on whatever drive it is
located on.
I.e. C:\Documents and Settings\All Users
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In JamesP <
[email protected]> hunted and pecked:
Wes:
Thanks for the detailed explanation, it was excellent ... however as I
stated in my original post MSCONFIG lists the path to these missing
processes as "Common Startup" and "Startup" which I believe means they
should be located in those folders and as such there wouldn't be any
registry listing for them, correct? How does one deal with these kinds
of orphans?
:
This is known as a startup orphan.
A startup orphan is a startup item that has a non-existent target
file. A target is the file which a startup will run when invoked.
If there is no path in Value Data, the item shows up blank in
msconfig | Startup. Also if Default under Data is blank (nothing
there at all) instead of (value not set).
Start | Run | Type: regedit | Click OK |
Navigate to >>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
What do you see in the right hand pane?
Do you see an entry with blank (nothing there at all) in the Data
column?
Start | Run | Type: regedit | Click OK |
Navigate to >>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
What do you see in the right hand pane?
Do you see an entry with blank (nothing there at all) in the Data
column?
From StartMan HELP:
[[An orphan is a startup item that has a non-existent target file.
A target is the file which a startup will run when invoked.
How do they occur?
They primarily occur because you've disabled a startup and then, at a
later date, uninstalled the program that uses it. The uninstaller
won't know about the disabled startup so it gets left behind. And if
the uninstaller deletes the target file then the startup becomes an
orphan. Orphans can also occur if you rename or move the target file
elsewhere. Where an orphan is also enabled you may see missing file
reports at startup. In the case of menu startups (shortcuts), the
shell will attempt to resolve the target by a brute-force search for
the file based upon the information stored in the shortcut.
How do I avoid creating orphans when uninstalling software?
Firstly, before uninstalling any software, ensure all its startups
are enabled with StartMan. This ensures all its startups can be
located. Next, use the program's own options to disable or remove
the startups - if that is an option. Finally, uninstall the
software. All things being equal, the startups should be gone, along
with the software that used them. If not...]]
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In JamesP <
[email protected]> hunted and pecked:
Have begun helping a friend cleanup her system ... we're removing a
bunch of unnecessary processes that load during startup by editing
the Registry and removing things from the Startup folder (and yes,
we made backups!)
We ran into a couple lines listed on the Startup page of MSCONFIG
that make calls to programs that were uninstalled a long time ago;
the lines say these objects should be located in one of the Startup
folders (specific users & common) but they're not there. So how can
we remove these lines?