You know the problem after a fresh windows installation. First you need to do all the windows updates and this takes some time to do it manually. This is the reason why I developed this script. I actually developed it for a packet manager called enteo but it can also be used without it.
Just download it and read the readme file carefully.
It is written in vbscript and can be easily adjusted to your packet manager. Use of course at your own risk!
PSWUInstaller100 4kb
admin on May 21st 2010 in Windows, Windows Server
1. Create a local user like Template
2. Login as this user and make all your adjustments
3. Best Restart your Computer
4. Login as Domain Administrator
5. Set your Explorer up so you can see all Hidden Files and Folder and System Files
6. Rename C:\Users\Default User in C:\Users\Default User Old
7. Rename your new Profile C:\Users\Template into C:\Users\Default User
8. Go to the Computer Settings [Windows Key+Break]
9. Go to the Users Profile and choose your Default User
10. Then click on Copy To and don’t forget to set the permissions to everybody
11. IMPORTANT: Copy the file into %logonserver%\netlogon\Default User.v2
Don’t forget to put .v2 or you would just generate a profile for XP.
admin on May 20th 2010 in IT, Windows, Windows Server
1. Delete all Snapshots or you can’t resize the disk
2. Shutdown Guest System
3. Go into Guest Properties and increase the disk size
4. Start Guest System
5. Create a Snapshot again
Windows Server Resize Partition
1. Download and install Diskpart from the Microsoft Webpage
2. Go into Command Console
3. Type: Diskpart
> LIST DISK
> SELECT DISK 0 [replace number with the disk you want to extend]
> LIST VOLUME
> SELECT VOLUME 1 [replace number with volume you want to extend]
> extend
Windows XP Resize Partition
Unfortunately Diskpart didn’t work for my Windows XP Version even it suppose to be supported. Anyway after try and error I found a good open source Partition Manager like Partition Magic. It is called GParted and It is based on Linux and does a great job. You can get it here: http://gparted.sourceforge.net/
admin on May 11th 2010 in VMWare, Windows, Windows Server
Here a couple of quick and dirty examples:
sc \\REMOTEMACHINE query
sc \\REMOTEMACHINE start SERVICE_NAME
sc \\REMOTEMACHINE config SERVICE_NAME start= auto
admin on February 12th 2010 in IT, Windows
Open Command Console and type:
nslookup
set type=mx
google.com

admin on December 3rd 2009 in Internet, Network, Windows, Windows Server
admin on November 9th 2009 in Windows, Windows Server
Today I tested some tools which should make your life much easier. You know the pain when you work with different kind of Operating Systems (Linux, Mac OS, Windows) and you want to access your files from everywhere. Or it could be even on your smartphone device like iphone, blackberry etc. First of all there is dropbox which works pretty much like an remote folder. You can simply drag files into it and you have 2 GB server storage. Another one I tested and I like very much is evernote. You can even just select some text or picture in your browser and upload it to the server. It will be indexed and you can simply search for your files. There is even a OCR recognition for images. But to use this service you just have 50Mb storage per month and afterwards you need to pay for premium account.
Programs can found be here:
www.getdropbox.com
www.evernote.com
admin on November 3rd 2009 in Internet, Linux, MAC, Windows
Jus run this command:
rundll32 powrprof.dll,SetSuspendState
admin on October 1st 2009 in Windows
| dsadd |
Creates and object in the directory |
| dsget |
Gets the attributes of an object |
| dsmod |
Changes the attributes of an object |
| dsmove |
Moves and object |
| dsrm |
Removes and object or container with all objects |
| dsquery |
Runs a query |
| csvde |
Import/Export Objects from/into a csv file |
| ldifde |
Import/Export (Lightweight Directory Access Data Interchange Format) |
| dsa.msc |
Active Directory Console |
Examples:
dsadd user “cn=Todd Test,ou=Users,dc=mist,dc=com” –samid ttest –upn ttest@mist.com
dsadd group “CN=Marketing,OU-Groups,DC=mist,DC=com” –samid Marketing –secgrp yes –scope g
dsget group “CN=Marketing,OU-Groups,DC=mist,DC=com” –members -expand
dsget user “cn=Todd Test,ou=Users,dc=mist,dc=com”
dsrm “cn=Todd Test,ou=Users,dc=mist,dc=com”
csvde –i –f NewUsers.txt
ldifde -i -f NewUsers.ldf
admin on June 4th 2009 in Windows Server
The easiest way to find out if the group policy is applied and really changed the right settings you can check it in registry.
Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
admin on May 28th 2009 in Windows Server