22
Mar/10
5

Convert BMP to JPG Command Line Utility (Free)

A small and free command line utility that converts a single .bmp file or a directory containing multiple .bmp files into jpg’s.

Requires .Net Framework 2.0 or later.

UPDATE! Sorry, the previous download File was corrupted. Please download this zip file now.

Download

  BMP2JPG.exe (8.0 KiB, 25,420 hits)

Help:
BMP2JPG :: Converts BMP to JPG (100% JPEG Quality only) :: Version 1.0

Converts BMP Files

Syntax :: BMP2JPG [Source Directory or File] [Destination Directory or File] [overwrite]

::
:: Examples
::
BMP2JPG "C:\Temp\My Bitmap.bmp" "C:\Temp\My JPEG File.jpg"
Converts a single File

BMP2JPG "C:\Temp\My BMP Folder" "C:\Temp\My JPEG Folder"
Converts all Files found in "C:\Temp\My BMP Folder" to "C:\Temp\My JPEG Folder"

BMP2JPG "C:\Temp\My BMP Folder" "C:\Temp\My JPEG Folder" overwrite
Converts all Files found in "C:\Temp\My BMP Folder" to "C:\Temp\My JPEG Folder"
Overwrites Existing Files

Author :: Tom Schindler, 2010 | http://www.microtom.net
Codename :: WIN32_ConvertBMP2JPG

Print This Post
(5 votes, average: 4.20 out of 5)
Loading ... Loading ...
930 views
18
Mar/10
0

How to improve Windows XP Performance

Good old Windows XP never dies! If you’re suffering of poor performance on your Windows XP Computer, you might want to try some of the following settings.

Machine Tweaks (Require Admin Rights)

Disable Startup Programs

  1. Logon with a User that is a member of the local Administrator Group
  2. Click Start
  3. Click Run
  4. Type “regedit”
  5. Navigate to: HKLM\Software\Microsoft\Windows\Current Version\Run
  6. Right Click on the “Run” key and select “Export”
  7. Export the key to a safe location
  8. Delete all Values within the Run Key except CA DSM and McAfee related keys
  9. Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion

Disable unnecessary Services

  1. Logon with a User that is a member of the local Administrator Group
  2. Click Start
  3. Click Run
  4. Type “services.msc”
  5. Disable the following Services
    Error Reporting Service
    Help and Support (You will not be able to use Remote Desktop Help after disabling this)
    Machine Debug Manager

Clear Temp Folder and recreate Prefetcher

  1. Logon with a User that is a member of the local Administrator Group
  2. Click Start
  3. Click Run
  4. Type “CMD”
  5. In the command windows type the following:
    del %temp%\*.* /Q
    del %windir%\Temp\*.* /Q
    del %windir%\Prefetch\*.* /Q

Remove Temporary Installation Files (Hotfixes)

  1. Logon with a User that is a member of the local Administrator Group
  2. Open Windows Explorer and navigate to C:\Windows
  3. Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options
  4. Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!
    Examples:
    $NtUninstallKB898461$
    $NtUninstallKB898463$

Empty Recycle Bin after previous steps

  1. Logon with a User that is a member of the local Administrator Group
  2. Right Click the Recycle Bin and select “Empty Recycle Bin”

Defragment the System Drive

  1. Logon with a User that is a member of the local Administrator Group
  2. Click Start
  3. Click Run
  4. Type “CMD”
  5. Type “defrag %SYSTEMDRIVE%”
  6. Hit Enter

Use a resource friendly Virus Scanner

Many Virus Scanners are even worse the a Viruses they want to protect you from. I found Microsoft Security Essentials is a very efficient and resource friendly Virus Scanner, and it’s free! :) Refer to this post to get more information: http://www.microtom.net/?p=493

User Tweaks

Disable Search for Network Folders

  1. Logon with the User Account
  2. Open Windows Explorer
  3. Click “Tools” – “Folder Options”
  4. In the “View” Tab uncheck “Automatically check for network folders and printers”
  5. Click “OK”

Remove Startup Programs

  1. Logon with the User Account
  2. Click Start
  3. Click Run
  4. Type %userprofile% and click “OK”
  5. Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)

Cleanup Desktop

  1. Logon with the User Account
  2. Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.

Compress /Split PST Files

  1. Logon with the User Account
  2. Start Outlook
  3. For each Personal Folder File:a. Right click the Folder and select “Properties for Personal Folder…”
    b. Click “Advanced”
    c. Click “Compact Now” and wait for the process to finish
    d. Click “OK”
    e. In the Personal Folders Properties window click “Folder Size”
    f. If the Total Size exceeds 1GB, split the PST file into additional PST’s

Enable “Cached Exchange Mode” in Outlook (Exchange Users Only)

  1. Open Microsoft Outlook 2003
  2. Click “Tools” – “E-mail Accounts…”
  3. Select “View or change existing e-mail accounts” (Selected by default) and click “Next >”
  4. Select the “Microsoft Exchange Server” Account and click “Change…”
  5. Check the check box “Use Cached Exchange Mode” (if not already checked) and click “Next >”
  6. Click “OK” on the Dialog
  7. Click “Finish”
  8. Restart Outlook

Remove the Desktop Wallpaper or use a .jpg image rather than .bmp

  1. Right click somewhere on your Desktop
  2. Select Properties
  3. In the “Display Properties” Window select the “Desktop” Tab (Second Tab)
  4. In the “Background” Selection Field select [None] and click “OK”

Use the Windows 2000 Theme instead of the Windows XP default theme

  1. Right click somewhere on your Desktop
  2. Select Properties
  3. In the “Display Properties” Window select the “Themes” Tab (First Tab)
  4. In the “Theme” Drop Down list, select “Windows Classic”
  5. Click “OK”
  6. Select “No” when asked to save your current Theme->Additionally you can also disable the “Windows Themes” Service
Per-Machine Tweaks (Require Admin Rights)
Disable Startup Programs1. Logon with a User that is a member of the local Administrator Group2. Click Start3. Click Run

4. Type “regedit”

5. Navigate to:
HKLM\Software\Microsoft\Windows\Current Version\Run

6. Right Click on the “Run” key and select “Export”

7. Export the key to a safe location

8. Delete all Values within the Run Key except CA DSM and McAfee related keys

9. Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion
Disable unnecessary Services

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “services.msc”

5. Disable the following Services

Error Reporting Service

Help and Support

Machine Debug Manager
Clear Temp Folder and recreate Prefetcher

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. In the command windows type the following:

del %temp%\*.* /Q
del %windir%\Temp\*.* /Q

del %windir%\Prefetch\*.* /Q
Remove Temporary Installation Files (Hotfixes)

1. Logon with a User that is a member of the local Administrator Group

2. Open Windows Explorer and navigate to C:\Windows

3. Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options

4. Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!
Examples:
$NtUninstallKB898461$
$NtUninstallKB898463$

Empty Recycle Bin after previous steps

1. Logon with a User that is a member of the local Administrator Group

2. Right Click the Recycle Bin and select “Empty Recycle Bin”

Defragment the System Drive

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. Type “defrag %SYSTEMDRIVE%”

6. Hit Enter

Per User Tweaks
Disable Search for Network Folders

1. Logon with the User Account

2. Open Windows Explorer

3. Click “Tools” – “Folder Options”

4. In the “View” Tab uncheck “Automatically check for network folders and printers”

5. Click “OK”

Remove Startup Programs

1. Logon with the User Account

2. Click Start

3. Click Run

4. Type %userprofile% and click “OK”

5. Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)
Cleanup Desktop

1. Logon with the User Account

2. Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.
Compress /Split PST Files

1. Logon with the User Account

2. Start Outlook

3. For each Personal Folder File:

a. Right click the Folder and select “Properties for Personal Folder…”

b. Click “Advanced”

c. Click “Compact Now” and wait for the process to finish

d. Click “OK”

e. In the Personal Folders Properties window click “Folder Size”

f. If the Total Size exceeds 1GB, split the PST file into additional PST’s

Enable “Cached Exchange Mode” in Outlook (Exchange Users Only)

1. Open Microsoft Outlook 2003

2. Click “Tools” – “E-mail Accounts…”

3. Select “View or change existing e-mail accounts” (Selected by default) and click “Next >”

4. Select the “Microsoft Exchange Server” Account and click “Change…”

5. Check the check box “Use Cached Exchange Mode” (if not already checked) and click “Next >”

6. Click “OK” on the Dialog

7. Click “Finish”

8. Restart Outlook

Remove the Desktop Wallpaper or use a .jpg image rather than .bmp

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Desktop” Tab (Second Tab)

4. In the “Background” Selection Field select [None] and click “OK”

Use the Windows 2000 Theme instead of the Windows XP default theme

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Themes” Tab (First Tab)

4. In the “Theme” Drop Down list, select “Windows Classic”

5. Click “OK”

6. Select “No” when asked to save your current Theme

*Additionally you can also disable the “Windows Themes” Service

Per-Machine Tweaks (Require Admin Rights)
Disable Startup Programs1. Logon with a User that is a member of the local Administrator Group2. Click Start3. Click Run

4. Type “regedit”

5. Navigate to:
HKLM\Software\Microsoft\Windows\Current Version\Run

6. Right Click on the “Run” key and select “Export”

7. Export the key to a safe location

8. Delete all Values within the Run Key except CA DSM and McAfee related keys

9. Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion
Disable unnecessary Services

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “services.msc”

5. Disable the following Services

Error Reporting Service

Help and Support

Machine Debug Manager
Clear Temp Folder and recreate Prefetcher

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. In the command windows type the following:

del %temp%\*.* /Q
del %windir%\Temp\*.* /Q

del %windir%\Prefetch\*.* /Q
Remove Temporary Installation Files (Hotfixes)

1. Logon with a User that is a member of the local Administrator Group

2. Open Windows Explorer and navigate to C:\Windows

3. Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options

4. Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!
Examples:
$NtUninstallKB898461$
$NtUninstallKB898463$

Empty Recycle Bin after previous steps

1. Logon with a User that is a member of the local Administrator Group

2. Right Click the Recycle Bin and select “Empty Recycle Bin”

Defragment the System Drive

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. Type “defrag %SYSTEMDRIVE%”

6. Hit Enter

Per User Tweaks
Disable Search for Network Folders

1. Logon with the User Account

2. Open Windows Explorer

3. Click “Tools” – “Folder Options”

4. In the “View” Tab uncheck “Automatically check for network folders and printers”

5. Click “OK”

Remove Startup Programs

1. Logon with the User Account

2. Click Start

3. Click Run

4. Type %userprofile% and click “OK”

5. Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)
Cleanup Desktop

1. Logon with the User Account

2. Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.
Compress /Split PST Files

1. Logon with the User Account

2. Start Outlook

3. For each Personal Folder File:

a. Right click the Folder and select “Properties for Personal Folder…”

b. Click “Advanced”

c. Click “Compact Now” and wait for the process to finish

d. Click “OK”

e. In the Personal Folders Properties window click “Folder Size”

f. If the Total Size exceeds 1GB, split the PST file into additional PST’s

Enable “Cached Exchange Mode” in Outlook (Exchange Users Only)

1. Open Microsoft Outlook 2003

2. Click “Tools” – “E-mail Accounts…”

3. Select “View or change existing e-mail accounts” (Selected by default) and click “Next >”

4. Select the “Microsoft Exchange Server” Account and click “Change…”

5. Check the check box “Use Cached Exchange Mode” (if not already checked) and click “Next >”

6. Click “OK” on the Dialog

7. Click “Finish”

8. Restart Outlook

Remove the Desktop Wallpaper or use a .jpg image rather than .bmp

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Desktop” Tab (Second Tab)

4. In the “Background” Selection Field select [None] and click “OK”

Use the Windows 2000 Theme instead of the Windows XP default theme

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Themes” Tab (First Tab)

4. In the “Theme” Drop Down list, select “Windows Classic”

5. Click “OK”

6. Select “No” when asked to save your current Theme

*Additionally you can also disable the “Windows Themes” Service

Per-Machine Tweaks (Require Admin Rights)
Disable Startup Programs1. Logon with a User that is a member of the local Administrator Group2. Click Start3. Click Run

4. Type “regedit”

5. Navigate to:
HKLM\Software\Microsoft\Windows\Current Version\Run

6. Right Click on the “Run” key and select “Export”

7. Export the key to a safe location

8. Delete all Values within the Run Key except CA DSM and McAfee related keys

9. Repeat step 5 to 8 for the HKCU Hive but also exclude the value ctfmon.exe from deletion
Disable unnecessary Services

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “services.msc”

5. Disable the following Services

Error Reporting Service

Help and Support

Machine Debug Manager
Clear Temp Folder and recreate Prefetcher

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. In the command windows type the following:

del %temp%\*.* /Q
del %windir%\Temp\*.* /Q

del %windir%\Prefetch\*.* /Q
Remove Temporary Installation Files (Hotfixes)

1. Logon with a User that is a member of the local Administrator Group

2. Open Windows Explorer and navigate to C:\Windows

3. Make sure “Show hidden Files and Folders” is enabled in the Windows Explorer Options

4. Remove Files that are compressed and start with a “$” sign EXCEPT the “$hf_mig$” folder!
Examples:
$NtUninstallKB898461$
$NtUninstallKB898463$

Empty Recycle Bin after previous steps

1. Logon with a User that is a member of the local Administrator Group

2. Right Click the Recycle Bin and select “Empty Recycle Bin”

Defragment the System Drive

1. Logon with a User that is a member of the local Administrator Group

2. Click Start

3. Click Run

4. Type “CMD”

5. Type “defrag %SYSTEMDRIVE%”

6. Hit Enter

Per User Tweaks
Disable Search for Network Folders

1. Logon with the User Account

2. Open Windows Explorer

3. Click “Tools” – “Folder Options”

4. In the “View” Tab uncheck “Automatically check for network folders and printers”

5. Click “OK”

Remove Startup Programs

1. Logon with the User Account

2. Click Start

3. Click Run

4. Type %userprofile% and click “OK”

5. Further navigate to “Start Menu\Programs\Startup” and delete every item in it (except if you really really REALLY(!) need one of them to start with Windows)
Cleanup Desktop

1. Logon with the User Account

2. Move Shortcuts (especially the ones that point to network locations) from the desktop to another location. You can also create a Folder (e.g. called “Shortcuts”) on the Desktop and move them in it.
Compress /Split PST Files

1. Logon with the User Account

2. Start Outlook

3. For each Personal Folder File:

a. Right click the Folder and select “Properties for Personal Folder…”

b. Click “Advanced”

c. Click “Compact Now” and wait for the process to finish

d. Click “OK”

e. In the Personal Folders Properties window click “Folder Size”

f. If the Total Size exceeds 1GB, split the PST file into additional PST’s

Enable “Cached Exchange Mode” in Outlook (Exchange Users Only)

1. Open Microsoft Outlook 2003

2. Click “Tools” – “E-mail Accounts…”

3. Select “View or change existing e-mail accounts” (Selected by default) and click “Next >”

4. Select the “Microsoft Exchange Server” Account and click “Change…”

5. Check the check box “Use Cached Exchange Mode” (if not already checked) and click “Next >”

6. Click “OK” on the Dialog

7. Click “Finish”

8. Restart Outlook

Remove the Desktop Wallpaper or use a .jpg image rather than .bmp

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Desktop” Tab (Second Tab)

4. In the “Background” Selection Field select [None] and click “OK”

Use the Windows 2000 Theme instead of the Windows XP default theme

1. Right click somewhere on your Desktop

2. Select Properties

3. In the “Display Properties” Window select the “Themes” Tab (First Tab)

4. In the “Theme” Drop Down list, select “Windows Classic”

5. Click “OK”

6. Select “No” when asked to save your current Theme

*Additionally you can also disable the “Windows Themes” Service

Print This Post
(2 votes, average: 4.00 out of 5)
Loading ... Loading ...
227 views
21
Feb/10
0

WinDirStat: Visual Directory Statistics (Freeware)

WinDirStat is a very nice disk usage statistics viewer and cleanup tool for Microsoft Windows. You can get it for free at this location: http://windirstat.info

Print This Post
(2 votes, average: 2.50 out of 5)
Loading ... Loading ...
358 views
18
Feb/10
0

Add Domain Users / Groups to local Groups remotely

Script that adds a Domain User to a local Group remotely.

Change the “DomainName” variable to suit your requirements.

Requires 3 Arguments:
[Machine Name] [Local Group to modify] [Domain User/Group to add]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
If (WScript.Arguments.Count < 3) Then
        WScript.Echo "3 Arguments required: [Machine Name] [Local Group to modify] [Domain User/Group to add]"
        WScript.Quit 1
End If
 
Dim DomainName
Set net = WScript.CreateObject("WScript.Network")
 
DomainName = "yourdomain.com"
 
WScript.Echo ""
WScript.Echo WScript.Arguments(0)
WScript.Echo "==================="
 
set group = GetObject("WinNT://"& WScript.Arguments(0) &"/"& WScript.Arguments(1) &"")
 
on error resume next
 
WScript.Echo "Before:"
For Each objUser In group.Members
  WScript.Echo objUser.Name
next
group.Add "WinNT://"& DomainName &"/"& WScript.Arguments(2) &""
CheckError
 
sub CheckError
        if not err.number=0 then
        set ole = CreateObject("ole.err")
                WScript.Echo ole.oleError(err.Number)
                err.clear
        else
                WScript.Echo ""
                WScript.Echo "After:"
                For Each objUser In group.Members
                  WScript.Echo objUser.Name
                next
        end if
end sub
Print This Post
(1 votes, average: 4.00 out of 5)
Loading ... Loading ...
517 views
18
Feb/10
0

Get Service Pack Levels of Servers via Active Directory

Script that queries Active Directory to retrieve Service Pack Levels (In this example only from Windows Server 2003 Machines)
Modify the strContainer variable to your requirements.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
On Error Resume Next
 
Const ADS_SCOPE_SUBTREE = 2
strContainer = "DC=yourdomain,DC=com"
 
Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = ("ADsDSOObject")
objConnection.Open "Active Directory Provider"
objCommand.ActiveConnection = objConnection
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
objCommand.Properties("Page Size") = 1000
objCommand.CommandText = _
  "SELECT CN, operatingSystem, operatingSystemVersion, operatingSystemServicePack FROM 'LDAP://" & strContainer & "' " _
   & "WHERE objectCategory='computer' AND operatingSystem = 'Windows Server 2003' "
Set objRecordSet = objCommand.Execute
objRecordSet.Sort = "CN"
objRecordSet.MoveFirst
Do Until objRecordSet.EOF
  Wscript.Echo objRecordSet.Fields("CN").Value & "," & objRecordSet.Fields("operatingSystem").Value & "," & objRecordSet.Fields("operatingSystemVersion").Value & "," 
  & objRecordSet.Fields("operatingSystemServicePack").Value
  objRecordSet.MoveNext
Loop
Print This Post
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...
244 views