When deploying a new Windows XP installation your first task is installing the countless Windows updates. When you wait for Windows XP to check for updates you’ll need a lot of time. To accelerate this process just run the following batch file. @echo on net stop wuauserv REG DELETE “HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” /v LastWaitTimeout /f REG [...]
GParted can’t create NTFS partitions
I tried to create a NTFS partition on a USB harddisk with my Ubuntu 9.10 installation. I ran into the following problem. Turned out I missed a few packages. Just install these packages and NTFS isn’t a problem anymore. sudo apt-get install gparted ntfs-3g ntfs-config ntfsprogs Bookmark on Delicious Digg this post Recommend on Facebook [...]
Connect to a iSCSI Target with Ubuntu
Install Open-iSCSI Initiator Type the following command at a shell prompt: sudo apt-get install open-iscsi Open-iSCSI default configuration Default configuration file could be located at /etc/iscsi/iscsid.conf or ~/.iscsid.conf. Open /etc/iscsi/iscsid.conf file: vi /etc/iscsi/iscsid.conf Set node.session.auth.username, node.session.auth.password and other parameter as follows: node.startup = automatic node.session.auth.username = MY-ISCSI-USER node.session.auth.password = MY-ISCSI-PASSWORD discovery.sendtargets.auth.username = MY-ISCSI-USER discovery.sendtargets.auth.password = [...]
Manually uninstall Windows Internal Database
When you deploy Windows SharePoint Services 3.0 in a single-server configuration by using the Basic installation option, the Setup program automatically installs and configures Windows Internal Database. However, an entry for Windows Internal Database is not created in the Add or Remove Programs tool. If you remove Windows SharePoint Services 3.0, the Setup program does [...]
Script Repository VMWare PowerShell
Hugo over at PeetersOnline.nl has a new Script Repository on his site. If you’re looking for PowerShell scripts for VMWare, you want to start here. Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on this [...]
Copy a directory but only include specific files (extension)
ROBOCOPY C:\Source D:\Destination *.zip *.txt /E /E = copy subdirectories, including empty ones /S = copy subdirectories, excluding empty ones More information about robocopy, click here Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on [...]
Remove empty folders and subfolders
This little batch file scans the directory that was provided as a parameter and all its sub-directories for empty folders and deletes them, including the provided folder itself, if it is empty as well (or became empty after all empty sub-folders were removed). RemoveEmptySubFolders.bat @echo off set Folder=”%~1″ if %Folder%==”” @echo Syntax RemoveEmptySubFolders Folder&goto :EOF [...]
Windows XP Control Panel shortcuts
Shortcuts Access.cpl Accessibility properties Appwiz.cpl Add/Remove Programs properties Desk.cpl Display properties Hdwwiz.cpl Add Hardware properties Inetcpl.cpl Internet properties Intl.cpl Regional Settings properties Irprops.cpl Infrared Port properties (located in C:\Windows\Driver cache\I386\Driver.cab until you install an infrared device) Joy.cpl Joystick properties Main.cpl Mouse properties Mmsys.cpl Multimedia properties Ncpa.cpl Network Connections properties Nusrmgr.cpl User Accounts properties Nwc.cpl Gateway [...]
After restart Virtual Center Server does not start automatically
In my case the SQL server and the Virtual Center server are on the same server. So I need to make the Virtual Center Server service dependent of the SQL server. To make this happen type the following in a DOS box. sc config vpxd depend= MSSQLSERVER Bookmark on Delicious Digg this post Recommend on [...]
Defrag and SDelete on every fixed harddisk
Use this VBS script to run a defrag en SDelete on all your fixed drives from your computer Set WshShell = WScript.CreateObject(“WScript.Shell”) Dim fso, d, dc Set fso = CreateObject(“Scripting.FileSystemObject”) Set dc = fso.Drives WshShell.RegWrite “HKCU\Software\Sysinternals\”, 0, “REG_SZ” WshShell.RegWrite “HKCU\Software\Sysinternals\SDelete\”, 0, “REG_SZ” WshShell.RegWrite “HKCU\Software\Sysinternals\SDelete\EulaAccepted”, 1, “REG_DWORD” For Each d in dc If d.DriveType = 2 [...]
