Microsoft
Contents
- 1 Microsoft Exchange Topics
- 2 Microsoft Group Policy Topics
- 3 Microsoft Networking Topics
- 4 Microsoft Networking Topics - Advanced
- 5 Microsoft Outlook Topics
- 6 Microsoft Performance Monitoring
- 7 Microsoft Printer Management
- 8 Microsoft Scripting Topics
- 9 Microsoft SQL Server Topics
- 10 Microsoft Windows Related Topics
- 11 Monitoring
- 12 Windows Search
- 13 tasklist
- 14 External Links
- 15 Copy all contents from hard drive to hard drive
- 16 RAS Disable Saved Passwords
- 17 Enabled Windows Firewall ICMP
Microsoft Exchange Topics
- All about delegates
- Enabling Send To
- Enabling Send On Behalf
- Fixing a Damaged or Incorrectly Configured OWA 2003 Installation
- Getting a list of all Exchange SMTP contacts
- How to recreate an Active Directory account and associate the original exchange mailbox with it
- Optimize memory usage in Exchange Server 2003
- Queue management - aka aqadmcli and clean up after spam
- Securing your Exchange Server
- Shared hosting part I, part II (Printed PDF Version)
- Using RBL with Exchange
- How can I configure RPC over HTTP/S on Exchange 2003 (single server scenario)? (Printed PDF Version) (RPCNoFrontEnd.zip)
Microsoft Group Policy Topics
Microsoft Networking Topics
- Setup a Windows PPTP VPN Client - Windows XP (PDF) (Flash)
- Setup a Windows PPTP VPN Client - Windows Vista (PDF) (Flash)
- Microsoft Windows XP - Get started using Remote Desktop (PDF)
- Microsoft Windows Vista - Using Remote Desktop Client (PDF)
Microsoft Networking Topics - Advanced
Microsoft Outlook Topics
Microsoft Performance Monitoring
- Free Disk Space Notification - Zip file contains importable alert settings and supporting scripts for Windows Performance monitoring
Microsoft Printer Management
Microsoft Scripting Topics
Microsoft SQL Server Topics
Microsoft Windows Related Topics
- Automatic Logon in Windows
- Configuring Time in Windows
- DNS Bind Order
- How to edit the Boot.ini file in Windows XP: Run sysdm.cpl.
- Microsoft Management Console
- Minidump Analysis - Making sense of the Blue Screen of Death
- Remotely Enable Remote Desktop
- Uninstall unlisted software
- C:\WINDOWS\SoftwareDistribution
Monitoring
Out of the options listed here Snare is the only one that I could get working to my satisfaction.
- Eventlog to Syslog Service
- Snare EventLog Agent for Windows - Event Log transfer to Snare & Syslog servers
- NTsyslog
Windows Search
To default to Search Companion when you click "Search", start regedit, go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Desktop Search\DS, and change the value of "ShowStartSearchBand" to 0.
tasklist
The command line tool tasklist will show you all the tasks running on the system, similar in function to ps in *nix. Using the switch /svc will display the service in each process. This is handy for finding out what is hiding under svchost.exe processes! Here is an example:
tasklist /svc Image Name PID Services ========================= ====== ============================================= System Idle Process 0 N/A System 4 N/A smss.exe 656 N/A csrss.exe 712 N/A winlogon.exe 736 N/A services.exe 780 Eventlog, PlugPlay lsass.exe 792 Netlogon, PolicyAgent, ProtectedStorage, SamSs svchost.exe 968 DcomLaunch, TermService svchost.exe 1036 RpcSs svchost.exe 1332 AudioSrv, BITS, Browser, CryptSvc, Dhcp, dmserver, ERSvc, EventSystem, helpsvc, HidServ, lanmanserver, lanmanworkstation, Netman, Nla, RasMan, Schedule, seclogon, SENS, SharedAccess, ShellHWDetection, srservice, TapiSrv, Themes, TrkWks, W32Time, winmgmt, wuauserv, WZCSVC svchost.exe 1372 WudfSvc svchost.exe 1436 Dnscache svchost.exe 1492 EapHost svchost.exe 1680 LmHosts, RemoteRegistry, SSDPSRV, upnphost, WebClient svchost.exe 1696 Dot3svc spoolsv.exe 1984 Spooler
External Links
Copy all contents from hard drive to hard drive
Requirements: robocopy.exe subinacl.exe
First run subinacl to take ownership of all the files on the SOURCE and give Everyone Full Control of the files and folders:
start /wait subinacl.exe /errorlog="C:\errorlog.txt" /nostatistic /subdirectories F: /Owner=Administrator /grant=Everyone=F /objectexclude=*.swp /objectexclude=*.dmp
/objectexclude=*.tmp /objectexclude=pagefile.sys /objectexclude=hiberfil.sys
start /wait subinacl .exe //this starts the script and waits for it to complete before moving to the next line in the batch file /errorlog="C:\errorlog.txt" //this saves an error log to the path specified /nostatistic //this suppresses displaying the progress /subdirectories //Makes it do all files and subdirectories in the path specified F: //Path to hard drive /Owner=yan@solo.local //Who takes ownership of the files /grant=Everyone=F //Grant Everyone Full Permissions /objectexclude=*.tmp // no need wasting time on a file we aren't going to copy.
Second run robocopy to copy the entire contents of the hard drive except certain uneccesary files:
start /wait robocopy.exe F:\ T:\test /E /ZB /COPY:DAT /IA:RASHNTCEO /X /V /FP /XF *.swp *.dmp *.tmp pagefile.sys hiberfil.sys /XD MCAF*.TMP "$VAULT$.AVG" "_RESTORE" "MSOCache" "Recycled" "RECYCLER" "Temporary Internet Files" "System Volume Information" "WUTemp" /R:1 /W:0 /LOG:"C:\Documents and Settings\Yan\Desktop\robolog.txt" /TEE
start /wait robocopy .exe //this starts the script and waits for it to complete before moving to the next line in the batch file F:\ //Source T:\test //Destination
Put the script contents into a batch file and run.
RAS Disable Saved Passwords
This was verified to work on Windows 8 on 9/11/2017.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\Parameters] "DisableSavePassword"=dword:00000001
Enabled Windows Firewall ICMP
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow