Monday, July 20, 2009

OCS 2007: Manually Configuring the External Web Farm FQDN

Original text from: http://technet.microsoft.com/en-us/library/bb803611.aspx

---------------------------------------------------------------------------------

If you did not configure an external Web farm FQDN when you created your Enterprise pool or configured your Standard Edition server, you can use some the following commands in LCSCmd to configure or change your external URLS specified in Table 3 Directories used by Web Components Servers (see the table in Step 2.1. Configure a Reverse Proxy).

  1. Log on to the Standard Edition server or Enterprise Edition server in the pool with an account that is a member of RTCUniversalServerAdmins group or has equivalent permissions.

  2. Open a command-line prompt.

  3. Navigate to the \Program Files\Common Files\Microsoft Office Communications Server 2007 directory.

  4. To set the external URL for the Web farm, type the following command:

    Lcscmd /web /action:updatepoolurls /externalwebfqdn: /poolname:

    For example:

    Lcscmd /web /action:updatepoolurls /externalwebfqdn:contoso.com /poolname:pool2
  1. Log on to the Standard Edition server or Enterprise Edition server in the pool with an account that is a member of RTCUniversalServerAdmins group or has equivalent permissions.

  2. Open a command-line prompt.

  3. Navigate to the \Program Files\Common Files\Microsoft Office Communications Server 2007 directory.

  4. To list the external URLs for the Web farm, type the following command. This command creates a remote of WMI setting values and will output the location of the report.

    Lcscmd /web /action:ListWMISettings /poolname:

    For example:

    Lcscmd /web /action: ListWMISettings /poolname:pool2
  5. Open the file using Internet Explorer or another Web browser and look up the values for the external URLs.

    Lcscmd /web /action:ListWMISettings /poolname:

    For example:

    Lcscmd /web /action: ListWMISettings /poolname:pool2
  1. Log on to the Standard Edition server or Enterprise Edition server in the pool with an account that is a member of RTCUniversalServerAdmins group or has equivalent permissions.

  2. Open a command-line prompt.

  3. Navigate to the \Program Files\Common Files\Microsoft Office Communications Server 2007 directory.

  4. To clear the external URL for the Web farm, type the following command:

    Lcscmd /web /action:clearpoolexternalurls /poolname:

    For example:

    Lcscmd /web /action:clearpoolexternalurls /poolname:pool2

Thursday, July 9, 2009

How to install ASP.NET on Windows XP

To install ASP.NET on Windows XP do the following:

  1. Click Start then Run.
  2. Type CMD and hit Ok.
  3. Navigate to your Microsoft .NET windows directory which is usually C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  4. Run the following commands aspnet_regiis -i and aspnet_regiis -c
  5. Load up your IIS Manager and enable ASP.NET on the site you want.

Wednesday, July 1, 2009

Changing Any Password On XP with cmd

This quick tutorial will show you the steps to change and reset any user password on a windows computer, and also show you how to protect your computer from people doing this to you!


CHANGE/RESET PASSWORD FOR ANY USERNAME

  1. Reboot the computer
  2. Right after the bios is finished, hit F8 (or F2,10,12)
  3. Select ‘Safe mode’ or ‘Safe mode with networking support’
  4. Windows will boot up to the logon screen. Click administrator, 9/10 there is no password.
  5. Do, Start->Run->type ‘command’
  6. At the prompt, type ‘net user’ which will display a list of usernames. Find the one you are looking for, try ‘net user username’ for them all. Type ‘net user /HELP’ for more info.
  7. To reset the password type ‘net user username *’ where username is the username you want to reset.
  8. For no password, leave blank.
  9. Now, reboot and you can login as that user.

If a user's domain account has been locked or if you cannot login to a network resource anymore, just login physically and unlock the account with net user username /ACTIVE

Monday, June 29, 2009

Documents and Settings folder littered with *.001 profiles on Citrix Server

Symptom:

You have a Citrix Presentation Server (XenApp 4.5) running on VMware (virtual server) and you notice that the Documents and Settings folder is piling up with profiles names such as: username.001, username.002, username.003 etc...

Background:

VMware's shared folders feature creates a hgfs.dat file and Terminal Services writes this file back to the roaming profile server. For extended information as well as the fix go here.

Resolution:

Remove the value hgfs from the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder

Tuesday, June 16, 2009

Installshield: Create installation response file

This process is to be used if a setup.iss file is not created in C:\Windows when using setup.exe -r.

---------------------------

1. Run the command > C:\Temp\setup.exe -r -f1c:\Temp\setup.iss

Note: there should be no spaces in between -f1 and the directory path and its - not / that need to be there with the switches.

2.
Once the setup.iss file is created try to run the installation with silent parameters this time it would definitely install. eg. setup.exe /s /f1 "c:\Temp\setup.iss


Sunday, May 31, 2009

Windows Server 2008: Enable ICMP (Ping) replies

From a Command Prompt (Run as Administrator) run:

Windows Vista / 7 / Server 2008

Enable
netsh firewall set icmpsetting 8

Disable
netsh firewall set icmpsetting 8 disable

Windows Server 2008 R2

Enable
netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow

Monday, May 25, 2009

BlackBerry: Application deployment using BES

Application deployment using the BlackBerry Enterprise Server and Application Control policy rules

In the BlackBerry Enterprise Solution environment, perform the following actions to deploy a Java application using the BlackBerry Enterprise Server and Application Control policy rules.

Note: Allow four hours for application deployment on multiple BlackBerry devices.

------------------------------------------------------------------------------------
Action
Add the application files to a shared folder.

Procedure
The administrator or application developer completes these actions.
1. Create or obtain the .alx and .cod files for the application.
2. Create a uniquely named folder, maintaining the application’s file structure, in the network location that hosts your shared applications:
\Program Files\Common Files\Research In Motion\Shared\Applications\.
3. Copy the .alx, .cod, and .dll files to the unique folder.

------------------------------------------------------------------------------------
Action
Index the application.

Procedure
The Application Loader reads the list of installed software in the software index and uses the index to locate the applications to install.
1. At the command prompt, type cd \Program Files\Common Files\Research In Motion\Apploader.
2. Type loader.exe /index. The Application Loader builds the software index structure and adds any missing index files.
Note: If you modify an .alx file after you create a software index, re-index the applications.
• At the command prompt, type cd \Program Files\Common Files\Research In Motion\Apploader.
• Type loader.exe /reindex.

------------------------------------------------------------------------------------
Action
Share the application folder.

Procedure
Software configurations must be able to access the application through a Universal
Naming Convention (UNC) path to the shared network drive.
1. Navigate to the application’s folder.
2. Right-click the folder, and then click Properties.
3. Click the Sharing tab.
4. Select Share this folder. Provide read-only permissions.
5. Set any other required options, and then click OK.

------------------------------------------------------------------------------------
Action
Set an IT policy rule for the user account.

Procedure
This action is optional.

Notes: You must set the Disallow Third Party Application Downloads policy to False.
The following steps describe the procedure for setting an IT policy rule for the
BlackBerry Enterprise Server Version 4.0.4. If you have a BlackBerry Enterprise
Server Version 4.1, see the BlackBerry Enterprise Server System Administration