Posts

Showing posts from December, 2010

Repackage an Application - Silent Install - Batch to EXE Converter

Image
Repackage an Application – PDF-XChange Viewer PRO Deployment Methods -This example will use the program PDF-XChange Viewer PRO for demonstration purposes but you can use any other software that is compatible with this method of repackaging! Write a batch file with the following (desired) commands; @echo off "setup.exe" /VERYSILENT /NORESTART /COMPONENTS:"pdfviewer,Help,IEAddin" /KEY:"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /PDFV /PDFVINBROWSER regedit.exe /s "settings.reg" exit The file "settings.reg" is the registry entries which contains some of the preferences and settings for this particular program. All software that we install on our computers has this kind of entries in the "Registry Editor". You can export this registry key for your particular program and add in your batch file in order to customize some of the settings silently right after the installation! Once your batch file is ready, let's save i...

Using PowerShell to Export a List of all the Users in a Security Group in Active Directory

Image
  PowerShell is known with its power of Active Directory management. If you really into simplifying your daily complicated time consuming tasks, this might be very interesting for you. Lately, for a small project I needed to make a list of all the users in a “Security Group” in Active Directory. The security group is called “Color Printing” and we had about 20 users in that “Security Group”. I did not want to write down all the names one by one in a excel sheet so I’ve started to make a research about how to export the list of users in security group. I know that when your users are only in an “Organization Unit”, it’s very easy to do this task, but when it’s a security group, you don’t have the “Export” option. Here what I found to complete a task of this kind! You can download free cmdlets from http://www.quest.com/powershell/activeroles-server.aspx for “Active Directory” management tasks. Once the right setup is downloaded and installed in your computer (in my case X64 version...