Installshield examples for installing/UNinstalling software remotely

Examples : Record the UNinstall and run the iss file: setup.exe /r /f1c:\me\killit.iss setup.exe /s /f1c:\me\killit.iss /f2c:\me\killit.log Record the install and run the iss file: setup.exe /r /f1c:\me\installit.iss setup.exe /s /f1c:\me\installit.iss /f2c:\me\installit.log psexec \\xp-test -i 1 %logonserver%\netlogon\me\killit.cmd MSI packages Microsoft’s own Windows Installer Service is the nominal standard, and if everybody used it, there would … Read more

Active Directory Domain Services Windows 2008 R2 cmdlets – Search-ADAccount

  You have to run Search-ADAccount in the  Active Directory Modile for Windows Powershell! Here is an example for finding disabled accounts : Search-ADAccount -AccountDisabled -UsersOnly | Format-Table name, sid -AutoSize   PS S:\> Search-ADAccount -? NAME Search-ADAccount SYNOPSIS Gets Active Directory user, computer, or service accounts. SYNTAX Search-ADAccount -AccountDisabled <switch> [-AuthType {Negotiate | Basic}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <in t>] … Read more

Finding disabled user accounts in Active Directory Domain Services I f  Get-ExecutionPolicy returns restricted you are3 not able to run powershell scripts : PS C:\> c:\locatedisabledusers.ps1 File C:\locatedisabledusers.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please se e “get-help about_signing” for more details. At line:1 char:27 + c:\locatedisabledusers.ps1 <<<< + CategoryInfo : NotSpecified: (:) [], PSSecurityException + … Read more

Books Windows PowerShell™ Scripting Guide Published: January 16, 2008 Accompanying Media: 1 Companion CD(s) Author: Ed Wilson Language: English Length: 688 Pages Level: N/A ISBN 13: 9780735622791 Technology: Windows Server 2008 ISBN 10: 0-7356-2279-5 Format: Paperback List Price: $ 49.99 Windows Server 2008 Security Resource Kit (PRO – Resource Kit) Windows Server® 2008 Resource … Read more

Chinese Proverbs

Those who say it cannot be done shouldn’t interrupt the people doing it. A crisis is an opportunity riding the dangerous wind. It’s better to be without a book than to believe a book entirely. A little impatience will spoil great plans. If you bow at all, bow low. A journey of a thousand miles … Read more

Remove print drivers from Windows 7

You can remove print drivers that are not associated with a local printer or connection using the printui.exe tool in an admin elevated command prompt type printui /s /t2 Be sure to remove the driver AND the package.