Microsoft provides a tool to install and uninstall from command prompt the same components and subcomponents that you can manage from Control Panel -> Add/Remove Programs. This tool is named SYSOCMGR.EXE and is located by default into %systemroot%\system32 folder.
So, in this way you have the opportunity to install in an unattended manner whatever Windows component.
The syntax to run the tool is the following :
SYSOCMGR.EXE /i:%windir%\inf\sysoc.inf /u:c:\components.txt
Where sysoc.inf is the file used by Windows every time you launch Add/Remove programs from Control Panel.
And the second one, components.txt in this example, is the file where we are going to set what componentes/subcomponentes to install/uninstall. The name of the file can be whatever you like.
And the content of the file is something like the next one, in this case an example about how to install MS Radius Server (Internet Authentication Service) :
[Components]
netoc = on
[NetOptionalComponents]
IAS = 1
You can use in the text file just on/off and 1/0 for installation/uninstallation of Components and Subcomponets.
Windows Vista includes a new feature that allow us to manage Wireless connection profiles as .xml files. In this way we can export all or just some of the wireless connections defined in a Windows Vista (or Windows 2008) machine. After that we can manipulate that files to make changes in the connection properties that we can´t do it using the GUI. Once we have the right .xml file, the original one or the modified one, we can import that file and its connections to the same machine or to a different one.
The command to see all wlan profiles defined in the machine :
– netsh wlan show profile
In this way we can see also what profiles have been created by the user and what others have been created using group policies.
The command to export one profile :
– netsh wlan export profile name=”profile name to export” folder=”folder where to store the .xml file”
If you want to export all the profiles just omit the name= modifier.
The command to import one profile :
– netsh wlan add profile filename=”path and name of the .xml file to import” user=current/all
If you omit the user= modifier the profile will be imported fot all users.
If you want to show in desktop, lower-right corner, the version and build number of your Windows Operating System you have just to set to 1 the key PaintDesktopVersion into registry path:
HKEY_CURRENT_USER\Control Panel\Desktop
How many times have you tried to downolad more than two files at the same time using Internet Explorer? You are right, it´s not possible, by default, two is the limit for simoultaneous downlad sessions.
Using this key you will be able to break this limitation setting the limit to the value you desire.
The registry path to modify is this one :
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer
Below this path there are three entries (DWord Values) we have to set :
MaxConnectionsPer1_0Server : Number of simultaneous sessions you want to configure, i.e, 6
MaxConnectionsPerServer : Same than above, number of simultaneous sessions you want to configure, i.e, 6
One more time we have to choose between security and functionality.
Using this key we have the possibility to make automatic logon in our XP Workstation when the workstation is started. This solution some times is mandatory when some process in the machine needs to run into the logon environment of some user, it means, an application that can´t be installed as a service.
But this is a security breach as the information about logon name and password is stored in clear text in the registry.
The registry path to modify is this one :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Below this path there are three entries (String Values) we have to set :
DefaultUserName : “logon name of the user to make logon”
DefaultPassword : “password for such user”
AutoAdminLogon : “put this value to 1″