Server/Admin Stuff
Misc Links
Sharepoint backup: stsadm.exe -o backup -url http://Companyweb -filename
F:\SharePointBU\0\SharePointdatabase -overwrite
find install date of Windows systeminfo | find /i
"install date"
find when server started "net statistics
server" "net stats srv"
6005 - event log started 6006 - event log stopped
reset domain password http://www.geeksaresexy.net/2009/03/12/how-to-reset-your-lost-2003-active-directory-admin-password/
Server 2012
Server 2008
Server 2008 backup - not installed by default http://technet.microsoft.com/en-us/library/cc770266(WS.10).aspx
Password
Complexity disable
Goto: “Start, Administrator Tools, Group Policy
Editor” -pop domain -hi-lite “Group Policy Objects” -right-mouse on
“Default Domain Policy”, Edit…new window will pop -hi-lite “Password
Policy” -on right side pane -define “Password must meet…”, then set it
to disable -set the minimum password length to 4 or
6
Server 2003
Group policy manager - http://www.microsoft.com/downloads/details.aspx?familyid=0A6D4C24-8CBD-4B35-9272-DD3CBFC81887&displaylang=en
Group Policy Editor gpme.msc gpmc.msc
Password Complexity - remove
The Password Complexity Requirements are in the Default Domain
Policy - ComputerConfigpolicies: WindowsSettings: SecuritySettings:
AccountPolicypasswordPolicy
After changing settings there, you'll have to go to a DOS prompt
and issue: gpupdate /force and let your server pick up the changes
to the Domain Policy, or reboot it.
---Logon wallpaper...change or
delete [HKEY_USERS\.DEFAULT\Control
Panel\Desktop] "Wallpaper"=""
---add Windows 2008 server as DC to existing Window
2003 domain http://technet.microsoft.com/en-us/library/cc733027.aspx * Prepare the forest by running adprep /forestprep on
the server that holds the schema master operations master role (also known as
flexible single master operations or FSMO) to update the schema. For more
information, see Prepare a Windows 2000 or Windows Server 2003 Forest Schema for
a Domain Controller That Runs Windows Server 2008. *
Prepare the domain by running adprep /domainprep /gpprep on the server that
holds the infrastructure operations master role. For more information, see
Prepare a Windows 2000 or Windows Server 2003 Domain for a Domain Controller
That Runs Windows Server 2008. * If you are installing an
RODC in an existing Windows Server 2003 domain, you must also run the adprep
/rodcprep command. For more information, see Prepare a Forest for a Read-Only
Domain Controller. ---unlock pwd for
domain http://www.jms1.net/nt-unlock.shtml http://www.petri.co.il/forgot_administrator_password.htm#3
Server 2000
Utils
- Active Directory Security Insepector - adsiedit.msc
- Domain Controller maint - ntdsutil.exe
- remove a domain controller
- Exchange Server and DC (don't do it)
- Adding a 2003 Domain Controller to a 2000 Domain
change print spooler directory HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\DefaultSpoolDirectory
Win2k SP4 install
\\servername\sharename\apps\W2KSP4\i386\update\update.exe /Q /N /Z
Command-line option Description
- /U Uses unattended Setup mode. If you use this option, only critical error
prompts will appear during the installation process.
- /Q Uses quiet mode, which is the same as unattended mode except that the
user interface is hidden. If you use this option, no prompts will appear
during the installation process.
- /F Forces other applications to close when the computer restarts after the
installation.
- /N Does not back up files for removing the service pack.
- /O Overwrites OEM files without prompting.
- /Z Does not restart the computer after the installation is completed.
- /L Lists installed hotfixes.
- /S:foldername Combines Windows 2000 with SP4 in a shared distribution
folder for an integrated installation.
- /D:foldername Backs up files into the specified folder.
Windows Installer Problems
If can start the service through service...then re-register
it
msiexec.exe /unregister
msiexec /regserver
get latest version
http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838-de776fd4138c&displaylang=en
SBS (Small Business Server
2008/2011 - DON'T disable IP6
http://blogs.technet.com/b/sbs/archive/2008/10/24/issues-after-disabling-ipv6-on-your-nic-on-sbs-2008.aspx
Master Browsing problems (aka Network
Neighborhood/My Network Places)
use "browstat.exe"
here
http://support.microsoft.com/default.aspx?scid=kb;en-us;136712
Settings for controlling Browser parameters
\SYSTEM\CurrentControlSet\Services\Browser\Parameters\IsDomainMaster
- IsDomainMaster parameter information:
- When set to 1, this parameter provides a priority boost to
increase its likely hood of winning a master browser election. It does not
allow the browse server to become the domain master browser. This value is a
boolean value and can be any of the following: Yes/No, True/False, or 1/0.
- MaintainServerList:
- When set to NO, the server is not a browse server.
- When set to YES, the server becomes a browse server.
- When set to AUTO, the server becomes a browse master if the
master browser asks it do so.
Time Stuff
Home
XP
Network
Client -
Server (Windows 2003) - http://support.microsoft.com/kb/816042
Server (Windows 2000) - http://support.microsoft.com/kb/216734/EN-US/
Server (Windows XP) - http://support.microsoft.com/kb/314054/EN-US/
XP gets "RPC error" when trying to sync with Internet Time Server
1) Navigate to Start -> Settings -> Control Panel ->
Administrative Tools -> Services 2) Scroll down to the Windows Time
service, right click it, and click Properties 3) Go over to the Recovery
Tab, and set the First Failure, Second Failure, and Subsequent Failures all to
the "Restart the Service" option.
Win2k DST Fix - see below section "Preparing for DST 2007" above
w32tm /config /manualpeerlist:tick.usno.navy.mil,0x8
/syncfromflags:MANUAL
Preparing for daylight saving time changes in
2007
Starting in year 2007, Daylight Saving Time will begin on the
second Sunday of March instead of the first Sunday of April and
will end on the first Sunday of November instead of the last
Sunday of October.
Previously DST started on: |
With the new law, DST will start
on: |
Previous DST ended on: |
With the new law, DST will end
on: |
First Sunday of April |
Second Sunday of March |
Last Sunday of October |
First Sunday of November |
Would have been: April 1, 2007 |
Will now be: March 11, 2007 |
Would have been: October 28, 2007 |
Will now be: November 4,
2007 |
See this Microsoft
article about the changes of Daylight Saving Time of 2007: http://www.microsoft.com/windows/timezone/dst2007.mspx
MDGx has created an unofficial registry fix for WinNT4, Win2000 &
pre-SP2 editions of WinXP
that will make these older OSes implement the newer Daylight Saving Time
format: http://www.mdgx.com/files/KB928388.EXE ****
KB928388.EXE file with the /R:N switch which prevents the
update from doing an automatic reboot.
cant find it go here - http://www.mdgx.com/add.htm#ADD
also see MS article 914387 on how to set up your version
of Windows
2000 to use the new DST format: http://support.microsoft.com/?id=914387
and in the 2007 time zone adjustment for windows thread: http://www.msfn.org/board/index.php?showtopic=87399
good read (history, facts, and other info) - http://webexhibits.org/daylightsaving/
end
You are here: Home-Computer Tips & Help-PC-Server/Admin Stuff
Previous Topic: Remote Stuff Next Topic: Exchange
|