Show 5 fsmo roles script

Set objRootDSE = GetObject("LDAP://rootDSE") ’ Schema Master Set objSchema = GetObject(“LDAP://” &_ objRootDSE.Get(“schemaNamingContext”)) strSchemaMaster = objSchema.Get(“fSMORoleOwner”) Set objNtds = GetObject(“LDAP://” & strSchemaMaster) Set objComputer = GetObject(objNtds.Parent) WScript.Echo “Forest-wide Schema Master FSMO: " &_ objComputer.Name Set objNtds = Nothing Set objComputer = Nothing ’ Domain Naming Master Set objPartitions = GetObject("LDAP://CN=Partitions,” & _ objRootDSE.Get(“configurationNamingContext”)) strDomainNamingMaster = objPartitions.Get(“fSMORoleOwner”) Set objNtds = GetObject(“LDAP://” & strDomainNamingMaster) Set objComputer = GetObject(objNtds.Parent) WScript.Echo “Forest-wide Domain Naming Master FSMO: " &_ objComputer.Name Set objNtds = Nothing Set objComputer = Nothing ’ PDC Emulator Set objDomain = GetObject(“LDAP://” &_ objRootDSE.Get(“defaultNamingContext”)) strPdcEmulator = objDomain.Get(“fSMORoleOwner”) Set objNtds = GetObject(“LDAP://” & strPdcEmulator) Set objComputer = GetObject(objNtds.Parent) WScript.Echo “Domain’s PDC Emulator FSMO: " & objComputer.Name Set objNtds = Nothing Set objComputer = Nothing ’ RID Master Set objRidManager = GetObject("LDAP://CN=RID Manager$,CN=System,” & _ objRootDSE.Get(“defaultNamingContext”)) strRidMaster = objRidManager.Get(“fSMORoleOwner”) Set objNtds = GetObject(“LDAP://” & strRidMaster) Set objComputer = GetObject(objNtds.Parent) WScript.Echo “Domain’s RID Master FSMO: " & objComputer.Name Set objNtds = Nothing Set objComputer = Nothing ’ Infrastructure Master Set objInfrastructure = GetObject("LDAP://CN=Infrastructure,” & _ objRootDSE.Get(“defaultNamingContext”)) strInfrastructureMaster = objInfrastructure.Get(“fSMORoleOwner”) Set objNtds = GetObject(“LDAP://” & strInfrastructureMaster) Set objComputer = GetObject(objNtds.Parent) WScript.Echo “Domain’s Infrastructure Master FSMO: " & objComputer.Name ...

November 16, 2009 · 1 min · thomasf

Manually Remove Trend Micro Officescan Client

Go to Control Panel Services (services.msc), and stop the following services: OfficeScanNT Listener OfficeScanNT RealTimeScan OfficeScanNT Personal Firewall (if enabled) Run Registry Editor (regedit.exe). Navigate to the following registry key hive: Delete the following keys (if available): Ntrtscan Tmlisten TmFilter VSApiNt TMPreFilter TM_CFW OfcPfwSvc Navigate to the following registry hive: or HKEY_LOCAL_MACHINE \SOFTWARE \Wow6432Node\TrendMicro (in 64-bit Windows operating system) Delete the following keys (if available): OfcWatchDog Pc-cillinNTCorp or OfficeScanCorp (depending on the client) R emoteAgent PC-cillin CFW Browse to the following registry key hive: ...

November 4, 2009 · 2 min · thomasf

Windows XP Resize Powertoy clone for Windows 7 and Vista

There is a nice small program from XP to resize a picture very easy. The problem with the microsoft powertoy is that it works Windows XP only. Now someone have built a nice clone you can download @ sourceforge http://sourceforge.net/projects/phototoysclone/ Have fun :)

October 29, 2009 · 1 min · thomasf

Install XP from USB (easy setup)

- PeToUSB - Copy of Windows XP - 1GB USB flash 1: Put your Windows disc in your drive. 2: Insert your USB flash. 3: Load PeToUSB 4: Configure it with your sources and destination like this 5: Click start 6: Once it’s finished remove the USB flash and insert it into your EEE PC. Set the BIOS to boot from the USB flash. 7: Watch it install! Ps. @ Windows7 you must manually format the stick to FAT32 and run the software as aministrator ...

August 14, 2009 · 1 min · thomasf

Terminal server memory solutions

Many terminalservers have an memory problem. You easily can write a fix for it with a simple but powerful Windows 2003 server resource kit tool. First download the resource kit Then copy empty.exe from the resource kit to c:\scripts\freemem or something Write a batch file c:\scripts\freemem\freemem.bat Example batch file: @echo off c:\scripts\freemem\empty.exe iexplore.exe c:\scripts\freemem\empty.exe outlook.exe c:\scripts\freemem\empty.exe winword.exe Run this script every 30 minutes en you have al lot of extra memory to spent :) ...

October 15, 2008 · 1 min · thomasf

Royal TS: Easy Remote Desktop Connections

Royal TS allows you to organize and manage multiple remote desktop connections. Connect to any machine where terminal services are enabled. Organize connections in custom categories for quick access. Connect directly to the console session and find out who else is connected to the machine.Website: http://code4ward.net/CS2/Default.aspx

October 5, 2008 · 1 min · thomasf

Input Director

Quickstart Guide Usage Guide FAQ Public Discussion Forum Input Director is a Windows application that lets you control multiple Windows systems using the keyboard/mouse attached to one computer. It is designed for folks who have two (or more) computers set up at home and find themselves regularly sliding from one system to the other (and wearing out the carpet in the process!). With Input Director, you can share a single keyboard/mouse across a set of systems. You switch which system receives the input either by hotkey or by moving the cursor so that it transitions from one screen to the other (in a very similar fashion to a multi-monitor setup). The idea being that you can position the monitors from two or more systems in a row and use a shared keyboard/mouse to control all of them.Input Director also supports a “shared” clipboard, in which you can copy data onto the clipboard on one system, transition across to another and paste. ...

October 4, 2008 · 1 min · thomasf

Configure a client computer for automatic domain time synchronization

Some computers that are joined to a domain are configured to synchronize from a manual time source. Use the following procedure to configure a client computer that is currently synchronizing with a manually specified computer, to automatically synchronize time with the domain hierarchy. NoteFor more information about the w32tm command, type w32tm /? at a command prompt or see Windows Time Service Tools and Settings on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=42984). ...

September 22, 2008 · 2 min · thomasf

Sysinternals Explaind

http://www.microsoft.com/emea/spotlight/sessionh.aspx?videoid=722

April 10, 2008 · 1 min · thomasf