It is currently Sun Sep 05, 2010 3:14 am

News News of Windows Server Administration

Site map of Windows Server Administration » Forum : Windows Server Administration

Force an address list update on the Exchange server

Force an address list update on the Exchange server


NDR- error codes for Exchange Server

Explanation of Non-Delivery Report (NDR)error codes for Exchange Server
Read more : NDR- error codes for Exchange Server | Views : 2 | Replies : 1 | Forum : General/Server OS related issues


Windows Server 2003 IIS Interview Questions

Friends,
This document contains all the IIS related questions asked in the interviews for web administrators.


Installation of Symantec Backup Exec 10d

This document shows you the step by step Installation of Symantec Backup Exec 10d on Windows 2003 server.
Read more : Installation of Symantec Backup Exec 10d | Views : 1 | Replies : 0 | Forum : Backup Solutions


How to backup and restore a DNS zone (AD integrated)

Below command is to backup a forward zone using dnscmd
dnscmd /zoneexport kannade.com backup\kannade.com.dns.bak
The above command backups the forward zone kannade.com to the file kannade.com.dns.bak

Restore
the following command restores the forward zone.
dnscmd /zoneadd kannade.com /primary /file kannade.com.dns.bak /load

After adding the zone to the DNS server, you can convert it to an AD-integrated zone by running:
Read more : How to backup and restore a DNS zone (AD integrated) | Views : 3 | Replies : 0 | Forum : DNS


How to backup DFS data

How to backup DFS data

DFS data can be backedup through User data under shadow copy components. It will be active when if the DFS replication service is running.

The backup job speed will be very low as it is getting backed up through VSS. so its depends on vss writer.

Can we take file level backup instead of selecting through user data?
Yes.. If you have large amount of data to be baced up, ...
Read more : How to backup DFS data | Views : 38 | Replies : 0 | Forum : Backup Solutions


vbscript to find the service tag

Below vbscript for getting the service tag
Code: Select all

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSMBIOS = objWMIService.ExecQuery _
("Select * from Win32_SystemEnclosure")
For Each objSMBIOS in colSMBIOS
Wscript.Echo "Serial Number: " & objSMBIOS.SerialNumber
Next
Read more : vbscript to find the service tag | Views : 35 | Replies : 0 | Forum : Windows Scripting/WMI/VBScript


schedule dfs diagnostic report for all replication groups

Generating diagnostic report for all replication groups are time consuming process. This can be automated by scheduling a VBscript to run the command line dfsradmin utlity.


'#########Script by Praveen Kumar###################
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("./repgroupname.txt", 1) 'input text file for name of the replication group
Do until objFile.AtEndOfStream
Strgroup = objFile.ReadLine
Set objShell = CreateObject("Wscript.Shell")
objShell.Run("%COMSPEC% /c dfsradmin health new /RgName:" & Strgroup & " /RefMemName:ServerName /repname:c:\" & strgroup & "_%date:~-4%-%date:~4,2%-%date:~7,2%.htm ...


vbscript to backup eventlogs with error handle

This vbscript backups the event logs of list of the servers when it exceeds the mentioned size with error handling. It writes the error on log files. you can schedule the event log clear report to your mail through blat.

'##########Script created by Praveen Kumar C ############
'########## visit www.kannade.com/tech/ for more details#
on error resume next
Set objNetwork = CreateObject("Wscript.Network")
Set ObjFso = CreateObject("Scripting.FileSystemObject")
Set ObjFile = ObjFso.OpenTextFile("./servers.txt",1) 'input list of servers
'sReportname ...
Read more : vbscript to backup eventlogs with error handle | Views : 27 | Replies : 0 | Forum : Windows Scripting/WMI/VBScript


Reset passsword for list of domain users

please find the below script for resetting list of domain users.
'###########Script created by Praveen Kumar##################
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("./users.txt", 1) ' text file input for list of users
Do until objFile.AtEndOfStream
strPassword = "Password" 'enter the default password
intPwdValue = "0"
Line = objFile.ReadLine
Set objUser = GetObject("LDAP://" & Line)
If objUser.class="user" then ' just to make sure the object is user or not
objUser.SetPassword strPassword
objUser.Put "PwdLastSet", intPwdValue ...
Read more : Reset passsword for list of domain users | Views : 27 | Replies : 0 | Forum : Windows Scripting/WMI/VBScript


 

Login  •  Register


Statistics

Total posts 113 • Total topics 92 • Total members 34

cron