IT-Windows Server & TS

User Profile Deletion Utility (Delprof.exe)

Posted on

Delprof.exe is available in the Windows Server 2003 Resource Kit. It is a command-line utility that you can use to delete user profiles on a local or remote computers running Windows 2000, Windows XP, and Windows Server 2003. User profiles can grow large and may take up considerable disk space, especially if there are several users using one computer. Because of this, you may want to use Delprof.exe to free disk space by deleting profiles that are no longer required. However, because each profile on the computer is presented in order when you run the utility, you may want to use the graphical interface instead of the command-line tool whenever possible.

Note: You must be logged on as administrator or as a member of the Administrators group to delete user profiles.

WARNING: Delprof.exe deletes all data that is stored in a user profile. This includes desktop settings, favorites, program-specific data that is contained in the Application Data folder, and the contents of the My Documents folder. Please be aware of any user documents that may be deleted before you use this tool.

This update addresses the following issue:

Fixed error where no explanation was provided for the /D option switch

Download at http://www.microsoft.com/downloads/details.aspx?FamilyID=901A9B95-6063-4462-8150-360394E98E1E&displaylang=en

Change Password for Active Directory – Windows 2003

Posted on

When you need to change the Active Directory properties for Windows 2003, you can use dsmod.exe.

Example:

You wish to quickly change a user’s password.  This is task you are going to have to do regularly, and you would like to able to do it quickly from the command line. 

Run, CMD then copy your script and paste into the command window.  Alternatively type it starting with:  dsmod user “Deddy Iswara – [IT],CN=Users,DC=wordpress,DC=co,DC=id”-pwd qwerty -mustchpwd no

Configure TCP/IP from Command Prompt

Posted on

Netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh.exe can also save a configuration script in a text file for archival purposes or to help you configure other servers.

Netsh.exe is available on Windows 2000, Windows XP and Windows Server 2003.

Example:

  • To view your TCP/IP settings:  netsh interface ip show config

  • To export your current IP settings: netsh -c interface dump > c:\location1.txt

  • To import your IP settings:  netsh -f c:\location1.txt

  • To reserve TCP/IP Address: netsh dhcp server 192.168.3.6 scope 192.168.3.0 add reservdip 192.168.3.201 0004764527a8

  • To configure DNS addresses: netsh interface ip set dns “Local Area Connection” static 192.168.0.200

  • To configure WINS addresses: netsh interface ip set wins “Local Area Connection” static 192.168.0.200

Terminal Services in Windows Server 2008

Posted on Updated on

The Windows Server 2008 Beta 3 release of Terminal Services delivers several key enhancements:

1.       Terminal Services RemoteApp™: Terminal Services (TS) RemoteApp programs are accessed through Terminal Services and behave as if they were running on the end user’s local computer. Users can run TS RemoteApp programs side by side with their local programs. If a user is running more than one RemoteApp on the same terminal server, RemoteApp will share the same Terminal Services session.

 

2.       Terminal Services Gateway: TS Gateway enables authorized remote users to connect to terminal servers and remote desktops (remote computers) on the corporate network from any Internet-connected device that is running Remote Desktop Connection (RDC) 6.0. TS Gateway uses Remote Desktop Protocol (RDP) tunneled over HTTPS to help form a secure, encrypted connection between remote users on the Internet and the remote computers on which their productivity applications run, even if their use is located behind a network address translation (NAT) Traversal-based router.

 

3.       Terminal Services Web Access: TS Web Access is a feature that makes Terminal Services RemoteApp available to users from a web browser. With TS Web Access, a user can visit a website—either from the Internet or from an intranet—to access a list of available TS RemoteApp programs. When a user starts a TS RemoteApp program, a Terminal Services session is started on the terminal server that hosts the application.

 

4.       Terminal Services Session Broker: TS Session Broker, a new feature in Windows Server 2008 Beta 3, provides a simpler alternative than Microsoft Network Load Balancing for Terminal Services. While not limited to a specific number of servers, the feature provides significant value to farms of two to five servers. With TS Session Broker, new sessions are distributed to the least-loaded server within the farm—optimizing performance—and users can reconnect to an existing session without having to know specific information about the server where the session was established. IT managers can use the feature to map the Internet Protocol (IP) address of each terminal server to a single Domain Name System (DNS) entry. This configuration can also provide fault tolerance; if one of the farm servers is unavailable, the user will connect to the next least-loaded server in the farm.

 

5.       Terminal Services Easy Print: TS Easy Print, a new feature in Windows Server 2008 Beta 3, enables users to reliably print from a TS RemoteApp program or full desktop session to a local or network printer installed on the client computer. Printers can now be supported without the need to install print drivers on the terminal server. When users want to print from a TS RemoteApp program or desktop session, they will see the full printer properties dialog box (printer user interface) from the local client and have access to all the printer functionality. IT administrators can use Group Policy to limit the number of printers redirected to just the default printer, thereby reducing overhead and improving scalability.

The question:

How the impact with Citrix and VMWare?