

Using CA AppLogic › Appliance Developer Guide › Appliance OS Installations › Common Components › Windows APK › Install the APK Separately › Manually Perform APK Prep Script
Manually Perform APK Prep Script
The APK prep script automatically performs a series of procedures, such as disable the Window Firewall and set the administrator password to never expire, using the AppWinCfg.vbs .
If you disable the APK prep script during install, you can perform the steps manually.
Windows Server 2008
Perform the following steps, as applicable:
- Set the screen resolution and screen saver timeout.
- Right-click an empty area of the desktop and select Personalize.
- Set the screen resolution to 1024x768 and the screen saver timeout to 1000 minutes or disable it.
Note: On 64-bit versions of Windows Server 2008 R2, click Start, Control Panel, Appearance, Change screen resolution or right-click an empty area of the desktop and click Screen Resolution.
- Disable the page file.
- Click Start, Control Panel, System, Advanced system settings, Advanced, Performance Settings, Advanced, Change Virtual Memory.
- Clear the check box Automatically manage paging file size for all drives and click No paging file.
- Click Set.
- Click Restart Later.
- Disable power management hibernation support.
- Click Start, Command Prompt.
- Enter powercfg –h off.
- Disable IE enhanced security.
- Open Server Manager, Configure IE ESC, and turn IE enhanced security off for both administrators and users.
- Clean up the leftover page file, if present.
- Open Windows Explorer.
- Click Organize, Folder and Search Options, View and select Show hidden files and folders.
- Clear the Hide protected operating system files check box.
- Delete the file C:\pagefile.sys if it is present.
- Restore the default settings under Organize, Folder and Search Options, View.
- Disable external network access.
- Open Server Manager, View Network Connections, Local Area Connection, Properties, TCP/IPv4, Properties.
- Click Obtain an IP Address automatically and Obtain DNS server address automatically.
- Disable Windows Firewall.
- Open Server Manager, and go to Windows Firewall, Windows Firewall properties.
- Set the firewall to Off for Domain Profile, Private Profile and Public Profile.
- Disable Windows Automatic Updates.
- Open Server Manager, Configure Updates, Change Settings.
- Click Never check for updates.
- Disable password complexity
- Open Start, Administrative Tools, Local Security Policy, Account Policies, Password Policy.
- Disable password complexity requirements.
- Set the Administrator password never to expire.
- Open Server Manager, Configuration, Local Users and Groups, Users, Administrator, Properties.
- Select Password Never Expires.
- Disable the shutdown event tracker.
- Open the Group Policy Editor (Run > gpedit.msc).
- Open Computer Configuration, Administrative Templates, System.
- Scroll down the right pane and right-click Display Shutdown Event Tracker, Properties.
Note: On 64-bit versions, click Display Shutdown Event Tracker, Edit.
- Select Disabled and click OK.
- Set the default Windows disk device timeout value to 60 seconds as required.
- Open the registry editor (Run > regedit.exe) and navigate to the key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Disk.
- If there is already an entry name TimeOutValue, set the timeout to 60 seconds as required. If not, add a new REG_DWORD value named TimeOutValue. If this value already exists, skip this step.
- Set the TimeOutValue to 60 decimal.
- Close the registry editor.
- Disable TCP checksum offload for TurboGate PV drivers.
- In the registry editor, navigate to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Tcpip/Parameters.
- Right-click Parameters in the left pane and select New, DWORD.
- Type DisableTaskOffload and press Enter.
- Right-click DisableTaskOffload, click Modify, and enter 1.
- Close the registry editor.
- On 64-bit Windows, copy shutdown.exe from C:\Windows\system32 to C:\Windows\SYSWOW64.
If Windows Explorer does not copy the executable file and instead moves it, perform the following manual steps:
- In Windows Explorer, move shutdown.exe to C:\Windows.
- Open a bash shell and perform the following command:
cp -p /cygdrive/c/WINDOWS/shutdown.exe cygdrive/c/WINDOWS/system32/shutdown.exe
This command copies the file into the C:\WINDOWS\SYSWOW64 directory.
- Use Windows Explorer to move C:\WINDOWS\shutdown.exe to C:\WINDOWS\system32\shutdown
Windows 7 and Windows 8
Perform the following steps, as applicable:
- Set the screen resolution and screen saver timeout.
- Right-click an empty area of the desktop and select Screen Resolution.
- Set the screen resolution to 1024x768.
- Right-click an empty area of the desktop and select Personalize.
- Select Screen Saver and disable or set the screen saver timeout to 1000 minutes.
- Disable the page file.
- Click Start, Control Panel, Systems and Security, System, Advanced system settings, Advanced, Performance Settings, Advanced, Change Virtual Memory.
- Clear the check box Automatically manage paging file size for all drives and click No paging file.
- Click Set.
- Click Restart Later.
- Disable power management hibernation support.
- Click Start, Command Prompt.
- Enter powercfg –h off.
- Clean up the leftover page file, if present.
- Open Windows Explorer.
- Click Organize, Folder and Search Options, View.
- Select Show hidden files and folders.
- Clear the Hide protected operating system files check box.
- Delete the file C:\pagefile.sys, if present.
- Restore the default settings under Organize, Folder and search options, View.
- Disable external network access.
- Open Control Panel, Network and Internet, Network and Sharing Center, Local Area Connection, Properties, TCP/IPv4, Properties.
- Click the Obtain an IP Address automatically and Obtain DNS server address automatically option.
- Disable Windows Firewall.
- Open Control Panel, System and Security, then select Windows Firewall and the Turn Windows Firewall On or Off option.
- Set the firewall to Off for Private and Public network location settings.
- Disable Windows Automatic Updates.
- Open Control Panel, System and Security, then select Windows Update, Change Settings.
- Click the Never check for updates option.
- Disable password complexity, if set.
- Open Start, Administrative Tools, Local Security Policy, Account Policies, Password Policy.
- Disable password complexity requirements.
- Set the Administrator password never to expire.
- Open Start, Administrative Tools, Computer Management, Local Users and Groups, Users, Administrator, Properties.
- Select Password Never Expires.
- Disable the shutdown event tracker.
- Open the Group Policy Editor using Run > gpedit.msc.
- Open Computer Configuration, Administrative Templates, System.
- In the right pane, right-click Display Shutdown Event Tracker, Edit.
- Select Disabled and click OK.
- Set the default Windows disk device timeout value to 60 seconds, as required.
- Open the registry editor (Run > regedit.exe) and navigate to the key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Disk.
- If there is an entry name TimeOutValue, set the timeout to 60 seconds as required.
- If not, add a new REG_DWORD value named TimeOutValue. If this value already exists, skip this step.
- Set the TimeOutValue to 60 decimal.
- Close the registry editor.
- Disable TCP checksum offload for TurboGate PV drivers.
- In the registry editor, navigate to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Tcpip/Parameters.
- In the left pane, right-click Parameters and select New, DWORD.
- Type DisableTaskOffload and press Enter.
- Right-click DisableTaskOffload, click Modify, and enter 1.
- Close the registry editor.
- On 64-bit Windows, copy shutdown.exe from C:\Windows\system32 to C:\Windows\SYSWOW64.
If Windows Explorer does not copy the executable file and instead moves it, perform the following manual steps:
- In Windows Explorer, move shutdown.exe to C:\Windows.
- Open a bash shell and perform the following command:
cp -p /cygdrive/c/WINDOWS/shutdown.exe cygdrive/c/WINDOWS/system32/shutdown.exe
This command copies the file into the C:\WINDOWS\SYSWOW64 directory.
- Use Windows Explorer to move C:\WINDOWS\shutdown.exe to C:\WINDOWS\system32\shutdown
Windows Server 2012
Perform the following steps, as applicable:
- Set the screen resolution.
- Right-click an empty area of the desktop and select Screen Resolution.
- Set the screen resolution to 1024x768.
- Set the screen saver timeout.
- Click Start, Control Panel, System, Appearance, and Display.
- Select Change screen saver, then either disable the screen saver timeout or set it to 1000 minutes.
- Click OK.
- Disable the page file.
- Click Start, Control Panel, System, Systems and Security, System, Advanced system settings, Advanced, Performance Settings, Advanced, Change Virtual Memory.
- Clear the Automatically manage paging file size for all drives check box and click No paging file.
- Click Set.
- Click Restart Later.
- Disable power management hibernation support.
- Click Start, Command Prompt.
- Enter powercfg –h off.
- Clean up the leftover page file, if present.
- Open Windows Explorer.
- Click Organize, Folder and Search Options, View and select Show hidden files and folders.
- Clear the Hide protected operating system files check box.
- Delete the file C:\pagefile.sys..
- Restore the default settings under Organize, Folder and Search Options, View.
- Disable external network access.
- Open Control Panel, Network and Internet, Network and Internet Sharing Center, Local Area Connection, Properties, TCP/IPv4, Properties.
- Click the Obtain an IP Address automatically and Obtain DNS server address automatically option.
- Disable Windows Firewall.
- Open Control Panel, System and Security and go to Windows Firewall, Turn Windows Firewall On or Off.
- Set the firewall to Off for Private and Public Network Location Settings.
- Disable Windows Automatic Updates.
- Open Control Panel, System and Security, Windows Update, Change Settings.
- Click Never check for updates.
- Disable password complexity (if set).
- Open Start, Administrative Tools, Local Security Policy, Account Policies, Password Policy.
- Disable password complexity requirements.
- Set the Administrator password never to expire.
- Open Start, Administrative Tools, Computer Management, Local Users and Groups, Users, Administrator, Properties.
- Select Password Never Expires.
- Disable the shutdown event tracker.
- Open the Group Policy Editor by entering gpedit.msc from the PowerShell Window.
- Open Computer Configuration, Administrative Templates, System.
- Scroll down the right pane and right-click Display Shutdown Event Tracker, Edit.
- Select Disabled and click OK.
- Set the default Windows disk device timeout value to 60 seconds as required.
- Open the registry editor by entering regedit.exe from the PowerShell window.
- Navigate to the key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Disk.
- If an entry name TimeOutValue exists, set the timeout to 60 seconds as required. If not, add a new REG_DWORD value named TimeOutValue. If this value already exists, skip this step.
- Set the TimeOutValue to 60 decimal.
- Close the registry editor.
- Use Windows Explorer to move C:\WINDOWS\shutdown.exe to C:\WINDOWS\system32\shutdownDisable TCP checksum offload for TurboGate PV drivers.
- In the registry editor, navigate to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Tcpip/Parameters.
- Right-click Parameters in the left pane and select New, DWORD.
- Type DisableTaskOffload and press Enter.
- Right-click DisableTaskOffload, click Modify, and enter 1.
- Close the registry editor.
- On 64-bit Windows, copy shutdown.exe from C:\Windows\system32 to C:\Windows\SYSWOW64.
If Windows Explorer does not copy the executable file and instead moves it, perform the following manual steps:
- In Windows Explorer, move shutdown.exe to C:\Windows.
- Open a bash shell and perform the following command:
cp -p /cygdrive/c/WINDOWS/shutdown.exe cygdrive/c/WINDOWS/system32/shutdown.exe
This command copies the file into the C:\WINDOWS\SYSWOW64 directory.
- Use Windows Explorer to move C:\WINDOWS\shutdown.exe to C:\WINDOWS\system32\shutdown
Copyright © 2013 CA Technologies.
All rights reserved.
 
|
|