fragnix
Big d00d
|
bei mir startet jedesmal scandisk auch wenn ich ganz normal abschalte! hab bei microsoft gelesen das der pc zu schnell herunterfährt und so die daten aus dem cache nicht zurückgeschrieben werden können! die bieten auch einen pach an aber nur für win 95 ich hab aber me! kann man manuell irgendwie ein delay irgendwo in die registry schreiben oder so? noch a paar daten: 1400athlon, ecs k7s5a, 2x ibm ic35l040 im raid 0 mit dawicontrol dc100... achja noch was mei raid hot sich scho 2x verabschiedet broken stripe, konn des an dem liegen?
ich danke schonmal im voraus fragnix!
|
bBU.CyTrobIc
#include "billrulz.h"
|
hi fragnix welcome to forum ![:)](/images/smilies/smile.gif) such mal die "msdos.sys" datei und trag dort die zeile ein: Autoscan=0 und der sollt das mit dem scandisk lassen. mfg cy
|
fragnix
Big d00d
|
danke cy für deine schnelle antwort!! ja dann würd scandisk nimma kommen aber des beseitigt leider des problem nicht! es muss doch irgendeinen befehl geben mit dem ich das herunterfahren verzögern kann oda? ![:confused:](/images/smilies/confused.gif) lg fragnix
|
bBU.CyTrobIc
#include "billrulz.h"
|
np... versuch das mal: 1. link erstellen auf "rundll32.exe" 2. verknüpfung: "rundll32.exe user,ExitWindows" so sollte der das unterbinden ![;)](/images/smilies/wink.gif) ps: 1 mal scandisk durchlaufen lassen, nicht abbrechen, ansonsten startet der das auch immer wieder. mfg cy
|
bBU.CyTrobIc
#include "billrulz.h"
|
das wäre auch ne möglichkeit aber... naja: ::reboot98.bat
:: Try this one too:
:: rundll32 krnl386.exe,exitkernel
::
@ECHO off
IF "%1"=="" GOTO closewin
FOR %%n in (0 1 2 4 5 6 8) do IF %1==%%n GOTO run
GOTO help
[url]http://members.aol.com/axcel216/msdos.htm[/url]
Windows 95/98/ME Complete MSDOS.SYS Reference
[url]http://support.microsoft.com/support/kb/articles/Q118/5/79.asp[/url]
Contents of the Windows Msdos.sys File
You have to edit msdos.sys (mind the read-only attribute) to prevent booting
to GUI. Change "BootGUI=1" to 0 then rename LOGOS.SYS and LOGOW.SYS found in
the windows folder. These are just plain old bitmap files with a different
extension. You may even want to get rid of the splash on boot by placing a
"LOGO=0" in the same section.
...
From earlier posts by Tom Lavedas:
For Win 9x and NT (extracted from article in PC Magazine) ...
Close all programs and prompt you to log on:
rundll32.exe shell32.dll,SHExitWindowsEx
A complete system reboot, use the command line:
rundll32.exe shell32.dll,SHExitWindowsEx 2
rundll.exe user.exe, ExitWindowsExec EW_REBOOTSYSTEM , 0
Power down the system (for laptops):
rundll32.exe shell32.dll,SHExitWindowsEx 5
from other sources ...
rundll32.exe User.exe,ExitWindowsExec 5 % restarts %
rundll32.exe User.exe,ExitWindows % shuts down %
One approach I know of is to Set BootGui=0 in the MSDOS.SYS file, add a 'WIN'
statement to the end of the Autoexec.bat file (create the bat if necessary)
and add a 'MODE co80' line after the WIN statement. Then when the batch or
a shortcut issues the following statement ...
rundll32.exe User.exe,ExitWindows % shuts down %
the system will exit to a pure DOS prompt. It is reported that the system
may not be too stable in this condition, but I have not done any testing
myself.
...
[url]http://support.microsoft.com/support/kb/articles/q234/2/16.asp[/url]
How to Exit Windows 98/Me Automatically Using a Batch File
[url]http://support.microsoft.com/support/kb/articles/Q238/0/96.ASP[/url]
Problems Shutting Down Windows 98 Second Edition
AFAIK, it was an executable patch. I believe I used this download...
[url]http://www.microsoft.com/windows98/downloads/bin/w98/4756US8.EXE[/url]
Is it possible to close Windows (98) and return to DOS?
As in the Win1-3.x days?
Yes, you can:
1. Set BootGUI=0 in MSDOS.SYS. Without this, there is no
shell for Windoze to return to.
2. Run %windir%\system\msconfig.exe. Select Advanced...
Set Disable fast shutdown.
I have Win98SE and this "Disable fast shutdown" option is not there. What
gives?
That's odd. What is the version and file size of your msconfig.exe? Mine is 4.10.1998 and it takes
69,632 bytes.
When you apply the patch, the FastReboot option will be disabled. The patch
also replaces msconfig.exe, and a few other files, so the FastReboot option
will no longer be user accessible. Well, not through msconfig.exe anyway,
but you can still set it active through the registry.
Anyway, this registry hack will probably work just as well:
[HKLM\System\CurrentControlSet\Control\Shutdown]
"FastReboot"="0"
:: untested.bat, but should also work
@echo off
echo FastReboot Menu (for use with Win 98 only!)
echo.
echo 0 - Disable
echo 1 - Enable
echo.
choice /c12 Selection:
if errorlevel 2 set FastReboot=1
if errorlevel 1 set FastReboot=0
if %FastReboot%'==' goto end
echo REGEDIT4>tmp.reg
echo [HKLM\System\CurrentControlSet\Control\Shutdown]>>tmp.reg
echo "FastReboot"="%FastReboot%">>tmp.reg
start /wait regedit tmp.reg
del tmp.reg
:end
You should now be able to return to DOS using the
"Shut Down" command of the Start Menu.
BTW, msconfig.exe from Win98 works in Win95 too.
Alas, if you have an ATX computer, you'll find that
Windows will power down the machine. To prevent this
you will need to beat win.com into shape:
debug %windir%\win.com
-s 100,f000 cd,15
Debug will list a number of addresses where INT 15
instructions were found:
0BE4:1367
0BE4:13A8
0BE4:13B2
[etc.]
Begin disassembly at the first address:
-u 1367
0BE4:1367 CD15 INT 15
0BE4:1369 7303 JNB 136E
0BE4:136B E99C00 JMP 140A
0BE4:136E 81FB4D50 CMP BX,504D
[etc.]
Win.com is looking for APM. Such behaviour is clearly
undesirable, so quell it:
-a 1369
0BE4:1369 nop
0BE4:136A nop
0BE4:136B
Now save your work and return to the command prompt:
-w
Writing 060D7 bytes
-q
Congratulations. You have eliminated a major annoyance
of Win98.
Win95 has the same effect on ATX machines too.
:help
ECHO.
ECHO restart Windows 98/Me automatically:
ECHO.
ECHO runonce.exe -q
ECHO.
ECHO rundll32.exe shell32.dll,SHExitWindowsEx n
ECHO.
ECHO where n is one, or a combination of, the following numbers:
ECHO.
ECHO 0 - LOGOFF
ECHO.
ECHO 1 - SHUTDOWN
ECHO.
ECHO 2 - REBOOT
ECHO.
ECHO 4 - FORCE
ECHO.
ECHO 8 - POWEROFF
ECHO.
PAUSE
ECHO The above options can be combined into one value to achieve
ECHO different results. For example, to restart Windows forcefully,
ECHO without querying any running programs, use the following
ECHO command line:
ECHO.
ECHO rundll32.exe shell32.dll,SHExitWindowsEx 6
ECHO.
ECHO NOTE: Using the FORCE option can cause programs to lose data.
ECHO.
ECHO Below is an explanation of each available option used with the
ECHO above command line:
ECHO.
ECHO 0 - LOGOFF
ECHO Shuts down all running processes, then logs the user off.
ECHO.
ECHO 8 - POWEROFF
ECHO Shuts down the system and turns off the power. The
ECHO system must support the power-off feature.
ECHO.
ECHO 2 - REBOOT
ECHO Shuts down the system and then restarts the system.
ECHO.
PAUSE
ECHO 1 - SHUTDOWN
ECHO Shuts down the system to a point at which it is safe to
ECHO turn off the power. All file buffers have been flushed to disk, and
ECHO all running processes have stopped.
ECHO.
ECHO 4 - FORCE
ECHO Forces processes to terminate. When this flag is set, Windows
ECHO does not query running applications to inform them that Windows is
ECHO shutting down. This can cause the applications to lose data,
ECHO therefore, you should only use this flag in an emergency.
ECHO.
ECHO The "rundll32.exe shell32.dll,SHExitWindowsEx (n)" command mentioned
ECHO above can be called from the RunOnce registry key.
ECHO.
ECHO The runonce.exe -q command mentioned above restarts the computer after
ECHO a 15 second delay. There are no other options when using this command
ECHO line, and it cannot be called from the RunOnce registry key.
ECHO.
PAUSE
ECHO For additional information about the RunOnce registry key, please see
ECHO the following article in the Microsoft Knowledge Base:
ECHO.
ECHO Q137367 Definition of the RunOnce Keys in the Registry
ECHO.
ECHO Additional query words:
ECHO.
ECHO Keywords : win98 kbWinME
ECHO Issue type : kbinfo
ECHO Technology :
GOTO end
:closewin
rundll32.exe User.exe,ExitWindows
GOTO end
:run
rundll32.exe shell32.dll,SHExitWindowsEx %1
:end
ECHO.
::
naja n1 to have halt ![:D](/images/smilies/biggrin.gif) mfg cy
|
fragnix
Big d00d
|
äm danke aber des 1. hat nid funktioniert (des dauert ka sekunde und der schaltet ab) tjo und des 2. hab i leida nid verstanden i bin jo ka informatika! oba danke!
|
bBU.CyTrobIc
#include "billrulz.h"
|
machst ne textfile... benennst sie in shutdown.bat und dann kannste sie starten ![;)](/images/smilies/wink.gif) cy
|
fragnix
Big d00d
|
tjaja und wieder nid!! des fohrt sofort herunter! ohne irgendeine verzögerung!
ma i love windows!!
oba wenigstens bin i nid da einzige mit dem problem wie i so gelesn hob hihi!
|
Gex
Oralapostel
|
hatte mein bruder a, nu hat er win2k drauf, eh bessa
|