Sideway
output.to from Sideway
Draft for Information Only

Content

Automation of Gavotte Ramdisk
   Use Startup/Shutdown of Windows Settings in Computer Configuration to set policies that are applied to computer.
   Use Logon/Logoff of Windows Settings in User Configuration to set policies that are applied to users.

Automation of Gavotte Ramdisk

By default, Gavotte Ramdisk can setup automatically. Because of the limitation of image size, maximum packed image size is 64K only, sometimes it is nesscessary to customize the setup. The automation of the Gavotte Ramdisk customization can be done as following:

  1. Use Startup/Shutdown of Windows Settings in Computer Configuration to set policies that are applied to computer.

    1. Create a startup batch file, e.g. ramdiskstart.bat, to setup the Gavotte Ramdisk and store in a directory, e.g. c:\. For example:

      md R:\Temporary
      if not exist d:\ramdiskbackup\Temporary goto N1
      xcopy d:\ramdiskbackup\Temporary\*.* R:\Temporary /E /V /C /Q /G /R /K /Y
      :N1
      EXIT
    2. Create a shutdown batch file, e.g. ramdiskend.bat, to backup the Gavotte Ramdisk and store in a directory, e.g. c:\. For example:

      cd /d d:\
      if exist d:\ramdiskbackup goto N1
      md d:\ramdiskbackup
      :N1
      if exist d:\ramdiskbackup\Temporary goto N2
      md d:\ramdiskbackup\Temporary
      :N2
      xcopy R:\Temporary\*.* d:\ramdiskbackup\Temporary /D /E /V /C /Q /G /R /K /Y 
    3. Click 'Start' on the taskbar and then click 'run' to open the 'Run' window. Then type 'gpedit.msc' and click 'OK' button to open 'Group Policy' window

      image image

    4. Click '+' to expand  'Windows Settings'

      image image

    5.  Click 'Scripts (Startup/Shutdown)' to display the startup and Shutdown items in the left pane. Then double-click 'startup' to open the 'Startup Properties' window

      image image

    6. Click the 'Add' button to open the 'Add a Script' Window.

      image image

    7. Add 'c:\ramdiskstart.bat' to 'Script Name' and left Script Parameters blank. Then click 'OK' to continue.

      image image

    8. Check the scipt is added and click 'OK' to exit.

      image 

    9. Similarly, double-click 'shutdown' to open the 'Shutdown Properties' window. Click 'Add' button to open the 'Add a Script' Window. Then add 'c:\ramdiskend.bat' to 'Script Name' and left Script Parameters blank. Then click 'OK' to continue.

      image image

    10. Check the scipt is added and click 'OK' to exit.

      image 

    11. Click 'File' in menu and then click 'Exit' to exit.

      image 

  2. Use Logon/Logoff of Windows Settings in User Configuration to set policies that are applied to users.

    1. Simular to 1 but select the 'Scripts (Logon/Logoff)' of 'Windows Settings' under 'User Configuration'.

      image 


©sideway

ID: 110100016 Last Updated: 1/25/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019