| imho.ws |
![]() |
|
|
|
# 1 |
|
Member
Регистрация: 31.10.2002
Адрес: Moscow
Сообщения: 373
![]() |
Пропал файл подкачки
Был сбой системы (Windows XP Pro), после чего файл подкачки стал равным 0.
Как его восстановить? Стандартное средство: Система- Дополнительно – Быстродействие – Параметры – Быстродействие – Дополнительно – Изменить и т.д. не работает. Не смотря на то, что размеры виртуальной памяти задаются, но в текущем размере файла подкачки стоит по-прежнему 0. Пробовал восстанавливать систему на более раннюю дату, но она не восстанавливается. Подскажите, как вернуть файл подкачки? |
|
|
|
|
# 4 |
|
Квази-Мод
Регистрация: 11.11.2002
Адрес: Circus
Пол: Male
Сообщения: 2 828
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Vladimir Ivanov
Причём тут .vbs? "Файл подкачки" называется pagefile.sys Может ты и размер у pagefileconfig.vbs замеряешь? Это, кстати администраторский скрипт для конфигурации свапфайла.
__________________
Подробнее об этом читайте на ЗЕРКАЛЕ
|
|
|
|
|
# 5 | |
|
Administrator
Регистрация: 03.06.2002
Адрес: R.I.P
Сообщения: 4 424
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Цитата:
Pagefileconfig.vbs Enables an administrator to display and configure a system's paging file Virtual Memory settings. For the command syntax, click a command: pagefileconfig change Changes a system's existing paging file Virtual Memory settings. Syntax pagefileconfig[.vbs] /change [/s Computer [/u Domain\User [/p Password]]] {[/i InitialPageFileSize]|[/m MaximumPageFileSize]} /vo {VolumeLetter|*} [/vo {VolumeLetter2|*} [...]] Parameters /s Computer Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User Runs the script with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password Specifies the password of the user account that is specified in the /u parameter. /i InitialPageFileSize Specifies the new initial size (in MB) to use for the paging file specified. /m MaximumPageFileSize Specifies the new maximum size (in MB) to use for the paging file specified. /vo {VolumeLetter|*} Specifies the volume or volumes of the paging file settings to be changed. The volume is specified by a letter followed by a colon (for example, "C:"). /? Displays help at the command prompt. Examples The following examples show how you can use the pagefileconfig /change command: pagefileconfig.vbs /change /m 400 /vo c: pagefileconfig.vbs /change /s srvmain /u maindom\hiropln /m 400 /vo c: pagefileconfig.vbs /change /s srvmain /u maindom\hiropln /i 20 /vo * pagefileconfig.vbs /change /s srvmain /u maindom\hiropln /p p@ssW23 /i 200 /m 500 /vo c: /vo d: pagefileconfig create Creates or adds an additional paging file to a system. Syntax pagefileconfig.vbs /create [/s Computer [/u Domain\User [/p Password]]] /i InitialPageFileSize /m MaximumPageFileSize /vo {VolumeLetter|*} [/vo {VolumeLetter2|*} [...]] Parameters /s Computer Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User Runs the script with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password Specifies the password of the user account that is specified in the /u parameter. /i InitialPageFileSize Specifies the new initial size (in MB) to use for the paging file specified. /m MaximumPageFileSize Specifies the new maximum size (in MB) to use for the paging file specified. /vo {VolumeLetter|*} Specifies the volume or volumes of the paging file settings to be created. The volume is specified by a letter followed by a colon (for example, "C:"). /? Displays help at the command prompt. Examples The following examples show how you can use the pagefileconfig /create command: pagefileconfig.vbs /create /i 140 /m 300 /vo d: pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /i 150 /m 300 /vo d: pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /i 50 /m 200 /vo * pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /p p@ssW23 /i 100 /m 600 /vo d: /vo e: /vo f: pagefileconfig delete Deletes a paging file from a system. Syntax pagefileconfig.vbs /delete [/s Computer [/u Domain\User [/p Password]]] /vo {VolumeLetter|*} [/vo {VolumeLetter2|*} [...]] Parameters /s Computer Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User Runs the script with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password Specifies the password of the user account that is specified in the /u parameter. /vo {VolumeLetter|*} Specifies the volume or volumes of the paging file settings to be deleted. The volume is specified by a letter followed by a colon (for example, "C:"). /? Displays help at the command prompt. Examples The following examples show how you can use the pagefileconfig /delete command: pagefileconfig.vbs /delete /vo d: pagefileconfig.vbs /delete /s srvmain /u maindom\hiropln /vo d: pagefileconfig.vbs /delete /s srvmain /u maindom\hiropln /p p@ssW23 /vo d: /vo e: /vo f: pagefileconfig query Queries and displays a system's paging file Virtual Memory settings. pagefileconfig.vbs /query [/s Computer [/u Domain\User [/p Password]]] [/fo {TABLE|LIST|CSV}] Parameters /s Computer Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. /u Domain\User Runs the script with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command. /p Password Specifies the password of the user account that is specified in the /u parameter. /fo {TABLE|LIST|CSV} Specifies the format to use for the query output. Valid values are TABLE, LIST, and CSV. The default value is LIST. /? Displays help at the command prompt. Examples The following examples show how you can use the pagefileconfig /query command: pagefileconfig.vbs /query pagefileconfig.vbs /query /fo table pagefileconfig.vbs /query /s srvmain /u maindom\hiropln pagefileconfig.vbs /query /s srvmain /u maindom\hiropln /p p@ssW23 /fo list Remarks Maximum paging file size is limited to available free disk space less the crashdump recovery settings for the boot drive. Formatting legend Format Meaning Italic Information that the user must supply Bold Elements that the user must type exactly as shown Ellipsis (...) Parameter that can be repeated several times in a command line Between brackets ([]) Optional items Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one Courier font Code or program output
__________________
Когда я поднимался по лестнице, я встретил человека которого там не было, его и сегодня там не было. Хоть бы он ушёл... |
|
|
|
|
|
# 6 |
|
Member
Регистрация: 31.10.2002
Адрес: Moscow
Сообщения: 373
![]() |
Clown,
в том то и дело, что в системе нет файла подкачки – pagefile.sys !!???, не стало… и я его пытался создать согласно ниже приведённой рекомендации, взятой из виндоусовского хелпа, с помощью pagefileconfig.vbs /create. То же самое, но на английском приводит и Dead Man. Но таким макаром не удалось его вернуть. Вопрос, как его вернуть на место? ------------------------------------------------------------------------ Файл Pagefileconfig.vbs Позволяет администратору вывести и настроить параметры использования виртуальной памяти файлом подкачки. Для просмотра синтаксиса команды щелкните ее: pagefileconfig change Изменяет параметры использования виртуальной памяти файлом подкачки. pagefileconfig create Создает или добавляет дополнительный файл подкачки к системе. Синтаксис pagefileconfig.vbs /create [/s компьютер [/u домен\пользователь [/p пароль]]] /i начальный_размер_файла_подкачки /m максимальный_размер_файла_подкачки /vo {буква_тома|*} [/vo {буква_тома_2|*} [...]] Параметры /s компьютер Задает имя или IP-адрес удаленного компьютера (не используйте обратную косую черту). По умолчанию используется локальный компьютер. /u домен\пользователь Запускает сценарий с разрешениями учетной записи пользователя, заданными в пользователь или домен\пользователь. По умолчанию используются разрешения текущего вошедшего пользователя компьютера, с которого поступила эта команда. /p пароль Задает пароль учетной записи пользователя, заданного в параметре /u. /i начальный_размер_файла_подкачки Задает новый начальный размер (в Мбайт) для указанного файла подкачки. /m максимальный_размер_файла_подкачки Задает новый максимальный размер (в Мбайт) для указанного файла подкачки. /vo {буква_тома|*} Задает том или тома параметров файла подкачки, которые должны быть созданы. Том задается буквой с последующим двоеточием (Например «C:»). /? Выводит справку в командной строке. Примеры Далее приведены примеры использования команды pagefileconfig /create: pagefileconfig.vbs /create /i 140 /m 300 /vo d: pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /i 150 /m 300 /vo d: pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /i 50 /m 200 /vo * pagefileconfig.vbs /create /s srvmain /u maindom\hiropln /p p@ssW23 /i 100 /m 600 /vo d: /vo e: /vo f: pagefileconfig delete Удаляет файл подкачки из системы. pagefileconfig query Запрашивает и выводит параметры использования виртуальной памяти файлом подкачки. Примечания • Максимальный размер файла подкачки ограничен размером свободного места на диске за вычетом размера аварийного дампа, заданного для системного диска. |
|
|