Discussion on:

56
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Be sure to run the command prompt as administrator or you will get Access is Denied.
0 Votes
+ -
Or not.
spdragoo@... 8th Dec 2011
Ran it in admin mode. It created the file, but then when I opened it Firefox (default browser) said it couldn't find it. Tried it in Seamonkey (my other go-to browser), same message. Tried it in IE9, just got my usual start page.
0 Votes
+ -
Errrr
Gisabun 9th Dec 2011
Ran what? Which one?
0 Votes
+ -
nt
0 Votes
+ -
Thanks for the very informative article, Mark. I use Mark Russinovich's 'Autoruns' which gives a detailed view of everything run at startup and enables you to control the various processes. After several disasters I've rather belatedly started creating a System Restore Point before I meddle.

It infuriates me that a number of very useful utilities insist on plonking themselves in the various startup locations and even after being turned off, turn themselves back on the next time they're run manually.

Andrew
2 Votes
+ -
Autoruns
Gisabun 8th Dec 2011
I use Autoruns and nothing else. Trash the "file not found" lines. Remove crap that is loading that should of been removed when the app was uninstalled but didn't. REmove all those damn apps that want to check at startup [think Java, Google Updater, Apple Software Update --- hey the same ones that are competing against Microsoft. Hmmmmm.]. Why does all these apps need checking every time you boot up [and after]. I check them once a month [unless I know there is an update].
6 Votes
+ -
Ccleaner
allargado 8th Dec 2011
I use Ccleaner for that,as well as deleting all the temporary files and cleaning the registry.
I am a fan of ccleaner as well. Quick and easy way to clean up files.
-3 Votes
+ -
Now I know what I'm missing out on. Check this out so you see what you're missing out on:

http://img87.imageshack.us/img87/2250/wedoct27bootchart.png

That is what I can do with my OS. That box runs its GUI in 32MB of RAM too. It is a CNC controller. My idea of running the latest 3D game.

Bootchart is a pretty neat utility isn't it?

http://www.bootchart.org/
0 Votes
+ -
Errr....
Gisabun 9th Dec 2011
Pretty. But do we really care about Linux in this article? Not really.
-1 Votes
+ -
I don't care
paulfx1 12th Dec 2011
About Windows but I get subjected to it all the time.
-3 Votes
+ -
This is the same thing we've been told since DOS and Win 3.1.
0 Votes
+ -
didn't work ...
trog7 Updated - 9th Dec 2011
the "wmic startup get /format:hform > startupreport.htm "
string produces an error as :
" Invalid XSL format (or) file name "
and yes the window is titled " ADMINISTRATOR: Command Prompt "
just opening the CMD window didn't do anything when the string was run, forced it to jump back to the C:\ prompt with CD\ and ran the string again - which caused the system to pause for about 20 seconds, and then displayed that error.
Also tried from Windows root, System & System32 folders ... same result.
0 Votes
+ -
Contributr
Hmmm...
Greg Shultz 9th Dec 2011
...When you run the command it will generate the file in the background. It won't do anything i.e. it won't automatically display the report.

As soon as the report is compiled, you need to type "startupreport.htm" to get Internet Explorer to load and display the file. Did you perform this second step?

Not sure why you are receiving the "Invalid XSL format (or) file name " error message on the second attempt. This error message is known to display in Windows 7 when you specify and XLS file as in "/format:hform.xsl" but thats not the case with the command line used here.
0 Votes
+ -
blank page
trog7 Updated - 9th Dec 2011
trying to run the "startupreport.htm" opened the browser to blank page only ...
perhaps you have a /(some) program(s) installed which I don't ...
which allow the report to be generated.
0 Votes
+ -
Contributr
...of Windows 7 are you running?
0 Votes
+ -
I'm getting the same problem he did: the command appears to execute (ran command prompt as Administrator), & it generated the file??? but the file was a blank page.
0 Votes
+ -
didn't work
dhoward@... 12th Dec 2011
Greg, I got the same error as trog7. "invalid XSL format (or) file name"
and I am the admin.
0 Votes
+ -
Contributr
...what is causing that error message. What happens if you just use the command

wmic startup

It should just display the same information on the command line. Let me know if that is the case and I'll move on from there.

Thanks
0 Votes
+ -
Same issue
Prendo 12th Dec 2011
Data does display to screen when the . . get /format . .. . is dropped.
I also get the same problem .. " Invalid XSL format (or) file name "
Tried various combinations after checking the "/format:hform" parameter and the help!! WMIC StartUp displays the startup ok, and the redirection to "Startupreport.htm" works, but only creates a empty file. Followed the link for
"Windows Management Instrumentation Command-line" and came to the conclusion that problem is in the "/format:hform" switch, but what I'm not sure.
Like a lot of the "cmd" line stuff it's to much of a hassle to work out the correct format! Still it would be nice if I could get it into powershell and get it to work!!
Meantime SysInternals Autorun does the job!!
0 Votes
+ -
What Happened to the "Old" Start Cop App.
It used to work from a Floppy. No Need to install.
It doesn't work on Win7, but still does on XP.

Kukunet
0 Votes
+ -
cmd does not work
brianzion Updated - 12th Dec 2011
wmic startup get /format:hform > startupreport.htm all i get is
invalid xsl format (or) file name

autoruns works for me best way to shorten start up programs in my opinion
0 Votes
+ -
Running Windows 7 32-bit SP1 and running command prompt as an administrator.
Invalid XSL format file name

What the hell is going on?
0 Votes
+ -
Yep, same result for me. Running Windows 7 Ultimate. 'Startupreport.htm' is just a blank page in Explorer!
0 Votes
+ -
year on end or you can use Soluto....
0 Votes
+ -
the only thing mising is the open the cammand box box first and then do the instructions.
I tried just the run box and I had the same problem as the rest of you then I tried to open the command box then run the same string and it worked. Open the Dos Command box before doing it. cmd.exe
0 Votes
+ -
Um, duH!!!
spdragoo@... 12th Dec 2011
What, did you think we were typing the commands into the Search box? No, we opened up Command Prompt, then typed the command in the Command Prompt box.
0 Votes
+ -
Contributr
I wonder...
Greg Shultz 12th Dec 2011
... could this be caused by a AV program. What are you using as your AV/Malware/Spyware program?

Let me know.
0 Votes
+ -
nah ...
trog7 Updated - 12th Dec 2011
disabled the AV, still the same.
tried the "|" pipe symbol and ditto result, but it immediately jumped to a new window in the browser - but still a blank page only. [and same error ...]

Anyways, I usually run MSCONFIG, to check the start-ups ...
and also use the "ctrl+alt+del" , or simply run Task-Manager, to literally look at what is running ...

I see someone dug up an almost identical report you did for this same function for Win Vista ... and at least one response had exactly the errors reported! - as was stated Deja-Vu
0 Votes
+ -
MSE
spdragoo@... 13th Dec 2011
for me
0 Votes
+ -
This wmic startup get /format:hform > startupreport.htm didn't work for me either until I changed the ">" to "|" (the pipe symbol above the backslash) then it worked great.
0 Votes
+ -
Hmmm
spdragoo@... 12th Dec 2011
Whill try that today
0 Votes
+ -
Didn't work
spdragoo@... 14th Dec 2011
Still just did a blank page.

So far, the only app that's been able to open the file... is Notepad.
0 Votes
+ -
Contributr
Try this...
Greg Shultz 14th Dec 2011
...open a Command Prompt, type wmic and press Enter. This will put you at the wmic command prompt

wmic:root\cli>

At the wmic command prompt, just type

startup get /format:hform

you should see the raw HTML code appear.

Let me know.
0 Votes
+ -
Although when I try telling it to put it into the file, I now get the "Invalid XML" message.
0 Votes
+ -
Contributr
... a little differently. Type this at the Windows Command Prompt:

wmic /output:startupreport.htm startup get /format:htable

If that works, then try this command:

wmic /output:startupreport.htm startup get /format:hform

Let me know how this format works.
0 Votes
+ -
Contributr
...that would make a difference, but yes, using the pipe (|) instead of the redirection (>) will perform that same operation, along with the benefit that it will load the report in Internet Explorer at the same time.
0 Votes
+ -
Try " msconfig ", Just type msconfig, when it shows, right click and "run as admin" and this brings up the System configuration window. Select the tab "Startup"
1 Vote
+ -
CCleaner
squirrelpie0 12th Dec 2011
Why not just use Ccleaner. It works very well. Is intuitive, has a couple other utility tools included and its FREE! Used it for years
0 Votes
+ -
You read my mind
xangpow 12th Dec 2011
When I first started reading this my first thought was "Eh, I can do this with CCleaner." lol
0 Votes
+ -
winpatrol
wacker@... 12th Dec 2011
This is even better & also free....http://www.winpatrol.com/download.html
I did not type 'Performance' in the Start> Search Box as instructed above, rather I went directly to the report by typing 'perfmon /report' in the search box, bypassing the intermediate commands and going right to the Report, then scrolling down to Startup Programs.
0 Votes
+ -
Is there some Windows tool that shows how much time each start-up process took during the boot process? While Windows login prompt comes up fast enough, it takes the system several minutes before it becomes useable.

User paulfx1 mentioned http://www.bootchart.org/ for linux. Is anything close to this available for Windows?
0 Votes
+ -
Contributr
... this article:

Use Windows 7 Event Viewer to track down issues that cause slower boot times
http://www.techrepublic.com/blog/window-on-windows/use-windows-7-event-viewer-to-track-down-issues-that-cause-slower-boot-times/3253
0 Votes
+ -
I know I have used the autoruns on a slow computer and found that every time the client logged on there was a hidden server program that they was sending out virus and malware on there and took most of the ram to where they were running so slow that you had to wait a good 10 min. for it to boot all the way. If it wasn't for that program I'd never found that on there computer.
0 Votes
+ -
Contributr
Apparently, those of you who have experienced the Invalid XSL format (or) file name error are not typing the full command at the Windows Command Prompt and instead are using the wmic command prompt.

If you begin by typing just wmic you get to the wmic command prompt

wmic:root\cli>

If you then type startup get /format:hform > startupreport.htm on the wmic command prompt you get the error

Invalid XSL format (or) file name

However, if you type the whole command at the Command Prompt as in

C:\Users\Greg>wmic startup get /format:hform > startupreport.htm

It works just fine

Let me know if this works for you.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.