To echo a Tab character in a batch file
Posted Thursday, 24 May 2007 by Misha Hanin

To echo a Tab character in a batch file:

1. Edit your batch file in Notepad or any other text editor.
2. Depress the Tab key in the appropriate places in your echo command line.

 

Restricting User Access to Registry Editors
Posted Tuesday, 22 May 2007 by Misha Hanin

If you have to prevent users from accessing the registry editors,You can use Group Policy. Simply enable the Disable registry editing tools policy setting under your systems'
User Configuration\Administrative Templates\System  object.

This setting changes the

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\

registry subkey's DisableRegistry Tools entry (of type REG_DWORD) to a value of 1, which prevents the registry editors from running. (The setting's default value is 0, which permits use of the editors.)

 
How to increase the Exchange Server 2003 Service Pack 2 18-gigabyte (75 GB) database size limit
Posted Monday, 21 May 2007 by Misha Hanin
New functionality has been included with Microsoft Exchange Server 2003 Service Pack 2 (SP2). You can now configure database size limits.

The database size limits for Microsoft Exchange Server 2003 Standard Edition have been increased from 16 GB to 18 GB. The limit can be increased to as much as 75 GB by using a registry key.

Microsoft Exchange Server 2003 Enterprise Edition does not have a maximum database size limit.
 
Freeware IPA and IPN command line tools makes scripting of local and remote Name/IP and IP/Name conv
Posted Sunday, 20 May 2007 by Misha Hanin
Downloaf IPINFO.ZIP, unzip it, and store IPA.EXE and IPN.EXE in a folder that is in your PATH.

Prior to having these tools, if I wanted to get my local computer's IP address, I would use a FOR command to parse @ping -n 1 %computername%, or Ipconfig /all.

Now, if I want the my computers IP address, I just parse ipa. If I want the IP address of another computer on my network, I just parse ipa [computername]:

for /f "Tokens=*" %%a in ('ipa SomeComputerName') do set IP=%%a
NOTE: Both IPA.EXE and IPN.EXE return ERRORLEVEL 0 upon success, 1 on an error, and 2 on a syntax error.

If I want to return the computer name associated with an IP address on my network, I just parse ipn [IPAdress]:

for /f  "Tokens=*" %%a in ('ipn SomeIPAaddress') do set name=%%a
NOTE: If the network computer is a member of your domain, the format returned is ComputerName.DomainName, like JSI009.JSIINC.COM. If the network computer is NOT a member of your domain, the NetBIOS computer name is returned, like JSI009. If you always want just the NetBIOS computer name:
for /f  "Tokens=1 Delims=." %%a in ('ipn SomeIPAddress') do set name=%%a
 
How to find the IP address of the local computer in a logon script or other batch
Posted Sunday, 20 May 2007 by Misha Hanin

Using only built-in functionality, use the following line to set the IP environment variable:

for /f "skip=1 Tokens=2 Delims=[]" %%i in ('ping -n 1 %computername%') do set ip=%%i

or

for /f "tokens=2 delims=: " %%a in ('nslookup %computername%') do set ip=%%a  

 
Transaction log size in Microsoft Exchange Server 2007
Posted Wednesday, 16 May 2007 by Misha Hanin
The transaction log size in Exchange 2007 is now 1MB instead of 5MB, which was the transaction log size for Exchange 2003.
The reason for the size reduction is related to the new log shipping clustering technologies in Exchange 2007. The smaller the log file means a smaller amount of data loss because you can't ship a transaction log until it's closed and it needs 5MB of data written before you can close. 
 
Windows Codename Longhorn Server is now Windows Server 2008
Posted Wednesday, 16 May 2007 by Misha Hanin
As already reported, Windows Codename Longhorn Server will be blessed with the name "Windows Server 2008".

Check out this short video Microsoft created - "What's in a name?"

New Windows 2008 site launched: http://www.microsoft.com/windowsserver2008/default.mspx
 
Create an AD user in PowerShell
Posted Wednesday, 16 May 2007 by Misha Hanin
PowerShell allows you to read, write and update Active Directory Objects. In conjunction with PowerShell's many other advanced features this provides a great environment to manage your AD, and to automate tasks.
 
How to Configure and Use Error Reporting
Posted Tuesday, 15 May 2007 by Misha Hanin
You can enable, disable, or modify the way that error reporting works on a Windows XP-based computer. When an error occurs, a dialog box is displayed that prompts you to report the problem to Microsoft. If you want to report the problem, technical information about the problem is sent to Microsoft over the Internet. You must be connected to the Internet to use the feature. If a similar problem has been reported by other users and information about the problem is available, you receive a link to a Web page that contains information about the problem. 
 
Boot a Vista system from a locally stored WIM file
Posted Tuesday, 15 May 2007 by Misha Hanin
The Windows AIK provides excellent opportunities to create custom Windows PE based images. Those images are provided as WIM files and can be easily converted to ISO files to be burned on CD or DVD. WIM files can also be used to boot from the network using Windows Deployment Services. The Microsoft site also provides procedures to boot a WIM file from USB drive or a clean local hard drive. Unfortunately I was not able to find a complete description how to place a WIM boot image on the local hard disk and provide it as alternative boot option in the Vista boot Menu.
 
Script for Install and Manage virtual CD / DVD
Posted Tuesday, 15 May 2007 by Misha Hanin

Recently there was a necessity to install a Virtual CD/DVD on many computers on the same network. And it was necessary, that CD/DVD would be set to the special letter in system. Right now existed a lot of programs which emulate CD/DVD and can mount any CDs/DVD images but as I wished to make all installation and configuration remoutly (well laziness to me to run from a computer to a computer) that was necessity, that the program could setup in silent mode. After small searches has stopped on program МagicDisc.

 
How to move SQL Server databases to a new location by using Detach and Attach functions in SQL Serve
Posted Wednesday, 02 May 2007 by Misha Hanin
This article describes how to change the location of the data files and of the log files for any Microsoft SQL Server 2005, SQL Server 2000, or SQL Server 7.0 database.
 
Adding a Windows Built-In Group to a Local Group
Posted Wednesday, 02 May 2007 by Misha Hanin
The Interactive group holds all users who logon to a machine interactively (after pressing Ctrl+Alt+Del).
 
Evaluate the Windows Server Code Name "Longhorn" Public Beta today
Posted Wednesday, 02 May 2007 by Misha Hanin
The next generation of the Windows Server operating system gives you more control, greater flexibility, and increased protection for your server infrastructure while reducing time and costs. Right now you can download evaluation of Windows Server "Longhorn"
 
Problems with FW? You cannot turn on / turn off the Windows Firewall on Windows XP SP2?
Posted Wednesday, 02 May 2007 by Misha Hanin
Firewall on En.N-Admin.Com The subject behavior can occur if a buggy LSP (Layered Service Provider ), a mechanism that can extend the Winsock network socket facility for applications, is installed on your computer, or if the %SystemRoot%\INF\Netfw.inf is not updated.
 
<< Start < Prev 11 12 13 14 15 16 17 18 Next > End >>