Discussion Locked

Windows Restart

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone no what command invokes the restart or reboot function for windows. One of my users installed a program on to the computer and ever since then everytime I go to the control panel, the computer restarts. I think something was changed inthe registry which calls the main.cpl command from the control panel.

I've tried copying all the related .cpl files including the main.cpl over using the extract command from my original windows disk but it still restarts when I call up the main.cpl.

Can anyone help? Is their a dll file linking or something.

5 replies

by yagar

What has probably happened is the program that got loaded added an entry to the control panel.

You can try moving all the .cpl file from you windows\system directory to a temp file and open Control panel. If it opens then you can replace them one at a time till it does not open

Complete procedure is in
http://support.microsoft.com/support/kb/articles/Q221/1/53.ASP

Remove the spaces in the URL

good luck

by shanghai sam

Thanks. I did try that option. I moved all *.cpl to a temp folder. I know the culprit is my main.cpl file. It seems that when I move it back to the Control Panel group and I start up the Control Panel with it in it, it reboots my machine. Otherwise if I leave it out, and leave the other *.cpl files in it, The control Panel opens without a hitch - No Reboot. I've extracted the main.cpl from my win95 to c:\windows\system area but it still reacts the same. There must be something going on when main.cpl is called. What are my other options?

This happens to a several Win95 machines and a couple of Win98 machines. I respectively extracted the main.cpl according to their operating system.

Thanks for any assistance in advance.

by yagar

Per our Emails

To check main.cpl on its own:
go to a command prompt
then go to the windows folder
C:\windows

then type

control main.cpl

This is suppose to open the main.cpl so you can see it.

Does it? or does it reboot you?

If you can open it check all the settings and be sure they are correct.

___________________________

Here is what I would do if I was in your shoes.

1. Remove the login script that pushes the .rpt files. and see if control
panel is OK

2. On one machine with a fresh install of windows. (if you have the ability
to do this on one of the machines that have the problem now do it on one of
them)
a. check that control panel is ok
b. Install SQL 7 client, and check control panel. c. install the timesheet program and check. (no script)
d. add the script

From all the errors I have researched on this problem It appears to be a
registry entry or a missing entry in the win.ini file. We just need to
find out which one it is, you might ask the programmers if the timesheet
program changes anything in either of these. Several things I read related
to QuickTime or video drivers, so a reaction to one of these might trigger
something

Let me know how you make out.

This discussion is closed to new replies.