Navigation

5/17/2012

Default homepage for IE, Firefox


IE   http://www.ehow.com/how_6299025_change-default-homepage-users.html

Open regedit.msc, Look for both of these, and set to www.law.edu
State Page
Default_Page_URL




Firefox:  http://www.mockbox.net/configmgr-sccm/300-firefox-set-default-home-page-for-all-users.html

From Q: drive:

Copy  mozilla.cfg  override.ini   to C:\Program Files\Mozilla Firefox\

Copy 'local-settings.js' to C:\Program Files\Mozilla Firefox\defaults\pref



GPedit.msc

Logon: dont show name
 Computer  Configuration Policy
 Windows Settings
Security Settings
Local Policies
Security Options
Interactive Logon: do not display last user name




Logoff Button
 User Config
Admin Temp
Start Menu & Taskbar
Change Start Menu power Button


IE: force start page to LAW.edu 
User Config
Admin Templates
Windows
IE
Disable Changing Home page settings


Power Plan: all users




 

Default Explorer view - Windows 7

From My digital Life:

When opening Windows Explorer on Windows 7 (Windows Explorer shortcut can be on the Start Menu or pin to Taskbar), the default folder opened by Windows 7 is “Libraries”

For user who doesn’t actually use Libraries, or prefer Windows Explorer to open up My Documents, Documents, or even Computer (the highest level view that shows all drives available on the computer), this trick will set Windows Explorer to open and show the prefer folder by default.
  1. In Windows 7 Start Menu, click on the Windows Explorer shortcut (typically store inside All Programs -> Accessories) and then select Properties. On Windows 7 Taskbar, hold down Shift key, and then right click on the Windows Explorer icon, and then select Properties. If you already have one or more Windows Explorer windows open, right click on the Windows Explorer icon, and then right click on the Windows Explorer link again to click on Properties.
  2. In the Target text box under Shortcut tab, change the value to one of the following to open either Documents or Computer by default. 

My documents:  %windir%\explorer.exe Libraries\Documents
My Computer:   %windir%\explorer.exe /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}



Explorer.exe Command Line Syntax
%SystemRoot%\explorer.exe [/n][/e][,/root],X,[[/Select],Y]
X specifies the object, and optionally with sub-object Y.
/e switch showes the left Windows Explorer tree view navigation pane together with the right pane in list view, while /n hides the left navigation pane.
When the /root parameter is present, Explorer.exe will explore the root object (X) and objects belonging to X. On the other hand, when the /root switch is not present, Explorer.exe explores the object X, its children, and other Explorer objects as well.
/Select switch puts the focus on a file or folder.

For example:
%SystemRoot%\explorer.exe /N,%WinDir%\System32,/Select,%WinDir%\System32\Ping.exe
Command aboves will explore the \Windows\System32 folder and put the focus on the ping.exe program.
Tip: Normally, there is no need to specify full path to explorer.exe, which is stored in the Windows folder, obtainable through the environment variable WinDir, as the path already been defined in PATH environment variable, and will be search through accordingly. As such, Explorer will suffice to run the Windows Explorer shell.

5/08/2012

Shortcut on thumb drive to run video files

We need to create easy way for faculty to start VLC Media Player Portable on a flash drive. Regular Windows shortcuts contain drive letter, so they would not work on every computer.

Solution:  create CLICK-TO-START.CMD file with following text:

start "\VLCfolder\VLCportable.exe"  "\pathToVideo\video-file-name.mpeg"


START "program on thumb drive" "file to open on thumb drive"


Information on START command:



C:\Users\Everyday\Documents>start /?
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/NODE ] [/AFFINITY ] [/WAIT] [/B]
[command/program] [parameters]

"title" Title to display in window title bar.
path Starting directory.
B Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt
the application.
I       The new environment will be the original environment passed
to the cmd.exe and not the current environment.
MIN    Start window minimized.
MAX   Start window maximized.
SEPARATE    Start 16-bit Windows program in separate memory space.
SHARED      Start 16-bit Windows program in shared memory space.
LOW       Start application in the IDLE priority class.
NORMAL Start application in the NORMAL priority class.
HIGH Start application in the HIGH priority class.
REALTIME Start application in the REALTIME priority class.
ABOVENORMAL Start application in the ABOVENORMAL priority class.
BELOWNORMAL Start application in the BELOWNORMAL priority class.
NODE Specifies the preferred Non-Uniform Memory Architecture (NUMA)
node as a decimal integer.
AFFINITY Specifies the processor affinity mask as a hexadecimal number.
The process is restricted to running on these processors.

The affinity mask is interpreted differently when /AFFINITY and /NODE are combined. Specify the affinity mask as if the NUMA node's processor mask is right shifted to begin at bit zero.
The process is restricted to running on those processors in common between the specified affinity mask and the NUMA node.
If no processors are in common, the process is restricted to running on the specified NUMA node.
WAIT Start application and wait for it to terminate.


command/program
If it is an internal cmd command or a batch file then the command processor is run with the /K switch to cmd.exe. This means that the window will remain after the command has been run.

If it is not an internal cmd command or batch file then it is a program and will run as either a windowed application or a console application.

parameters These are the parameters passed to the command/program.

NOTE: The SEPARATE and SHARED options are not supported on 64-bit platforms.

Specifying /NODE allows processes to be created in a way that leverages memory
locality on NUMA systems. For example, two processes that communicate with
each other heavily through shared memory can be created to share the same
preferred NUMA node in order to minimize memory latencies. They allocate
memory from the same NUMA node when possible, and they are free to run on
processors outside the specified node.

start /NODE 1 application1.exe
start /NODE 1 application2.exe

These two processes can be further constrained to run on specific processors
within the same NUMA node. In the following example, application1 runs on the
low-order two processors of the node, while application2 runs on the next two
processors of the node. This example assumes the specified node has at least
four logical processors. Note that the node number can be changed to any valid
node number for that computer without having to change the affinity mask.

start /NODE 1 /AFFINITY 0x3 application1.exe
start /NODE 1 /AFFINITY 0xc application2.exe

If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:

non-executable files may be invoked through their file association just
by typing the name of the file as a command. (e.g. WORD.DOC would
launch the application associated with the .DOC file extension).
See the ASSOC and FTYPE commands for how to create these
associations from within a command script.

When executing an application that is a 32-bit GUI application, CMD.EXE
does not wait for the application to terminate before returning to
the command prompt. This new behavior does NOT occur if executing
within a command script.

When executing a command line whose first token is the string "CMD "
without an extension or path qualifier, then "CMD" is replaced with
the value of the COMSPEC variable. This prevents picking up CMD.EXE
from the current directory.



5/07/2012

2TB limit for hard drives in Windows 7

Have a 3 Terabyte harddrive, Win 7 only recognized it as 2.2 TB partition and 800 GB partition, could not get one 3 TB partition.

Jeff Hughes has all the details on the 2 TB limit.

Have  to create a GPT (Guid Partition Table) disk.

Open Administrative Tools, then Computer Management, then right click on disk name, far left side, you should see "Convert to GPT disk"on the menu drop down.




A disk configured to be GPT rather than the MBR style would have a 32 sector partition array instead of a tiny 64 byte partition table.

The partitions that can be defined on a GPT disk can be up to 16EB in size.