Archive for the ‘windows’ Category

Restore Windows XP NTFS Permissions (Client)

This will restore the NTFS persmission for Windows XP (Pro)

Run CMD

secedit /configure /db secedit.sdb /cfg %SystemRoot%\inf\defltwk.inf /overwrite /verbose

Install Vista / Windows 7 / Server 2008 from USB

I know there are many guides around, The only difference here is that I want to do the quicker (alot infact) format, instead of the normal slow one.

To do this, you need an existing Vista/7 Machine and a USB Stick.

  1. Insert USB stick
  2. Open Command (cmd.exe) as administrator
  3. type (followed by enter)
    1. diskpart
    2. list disk
      1. You should note the disk that is your USB drive (disk 1 or 2 etc, not usually disk 0)
    3. Select disk 1
      1. If disk 1 is the correct one for your USB drive
    4. Clean
      1. This will WIPE the disk drive completly
    5. Create partition primary
      1. this will create a new partition that will use 100% of the space on the USB drive
    6. Select partition 1
      1. selecting the newly created partition
    7. Active
      1. activates the partition
    8. Format fs=fat32 quick
      1. this will format the partition in fat32 quickly
    9. assign
      1. assign drive letter
    10. exit
  4. Now you can just copy all the files on the CD/DVD/ISO to the newly created partition on the USB Drive.

Some notes: FAT32 has a file size limit of 4GB, meaning you cannot copy any single file that is larger than this. Many DVD ISO are larger than 4GB and you might forget the filesystem type in the months to come :)

http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32

notes taken from http://www.techmixer.com/install-windows-vista-from-bootable-usb-flash-memory-drive/

DPM – Thoughts

I have been using DPM 2007 for a few months now and here are a collection of thoughts and annoyances.

Automaticly resolve alerts

Basically, when you get an alert such as “Replica Inconsistant” due to any number of issues you will be sent an alert and also one is logged in the Alerts tab, This is fine and very useful although if the issue is fixed (server back online, service running again etc) the alert will just sit there, gathering dust. Should it not just go away into some other (closed/repaired) area or filter? I mean its getting silly. (see image)

Windows 2003 System States

This has been the biggest problem for me, I have yet to workout what is going on (fully) but it seems that if for any reason you get an error/warning related to the backup of system_state (in event log) it will cause a failed backup. In my case the error is related to Certificate Services, its a warning and using NTbackup it will backup fine, but with DPM all I get is errors and failures. I will it would just do a Competed backup (dirty mabey)

Agent Installation

The agent installation is seamless and quick, but it would be good if it enabled firewall exceptions on install.

On a good note, It is miles better than anything else. I feel very confident with the backups and so far have had no issues that require a large recovery or a loss of critical data. I highly recommend this for admins that do not have endless time to manage backups and monitor for issues. It is a simple but very effective solution to a nessicary requirement.

J

Hotmail – Activesync (finally)

Finally I have activesync for hotmail on my Android ( Nexus One )

Basically the settings are

  • Username: you@hotmail.com
  • Password: your hotmail password
  • Server Type: Activesync (choose manual setup)
  • accept certs
  • Server Address: m.hotmail.com

its not working too well tho, some syncs are not doing anything. At least its a start.!

J

sccm 0×00002024 CCMCertFix

I got this,

Simple answer:

just run (as admin) on the client machine and boom, it works! CCMCertFix.exe

http://support.microsoft.com/?kbid=977203

How to Disable old computer accounts in AD

Becuase ‘dsmod‘ & ‘dsquery‘ support piping (passing results to a new command) you can easliy send results from dsquery to dsmod.

I wanted to disable old computer accounts, then after 60 days I will delete them.

dsquery computer -inactive 8 -limit 0 | dsmod computer -disabled yes

The above will search for computers that have not connected for 8 weeks, say after being removed, destroyed etc. then it will disable the computer account.

I a few weeks I will then search for disabled accounts, might export a list and then delete them form AD.

you could expand this and createa a weekly task that would check and disable/delete accounts, or move them to a locked down part of AD etc.

J

SCCM OSD VISTA ERROR

I was getting a nice 4005 error while trying to Build/Capture of Vista Sp2, the error was occuring just before windows installtion had started (after applying drivers)

It seems there was an incompatibility on one of the divers as I use mainly XP Drivers, To workaround this I created a new driver category for Vista to use (instead of all the drivers avaliable)

 

I got it working by

 

  1. Create a “Vista_Network” driver catergory and added the basic Network/required drivers
  2. Edit The Build-Capture tasksequence
  3. Goto the “Apply Driver” task
  4. Select “Limit Drivers To “Vista_Network” Category”
  5. As you can see

    Save

It will now work and you dont need to disable drivers etc.

 

Good Luck

 

Exchange 2007 – SAN Certificate & MSSTD

Ok,

I finally bit the bullet and purchased a SAN Certificate for Exchange 2007 so that I dont get any more problems with security errors etc. There was a small problem though, The SAN consisted of

CN = domain.com
SAN (Subject Alternative Name) = autodiscover.domain.com & rpc.domain.com & webmail.domain.com

Due to the way outlooks connects over RPC/HTTPS you need to make sure you update the MSSTD Record to reflect the CN on the certificate

  • Set-OutlookProvider EXPR -Server $null -CertPrincipalName msstd:domain.com

 

BattleField – Bad Company 2: No Pings and General Network Problems

Ok,

I just purchased a copy of BFBC2 and installed it. I am getting a little tired of Crysis and need a new game until Crysis2 or better.

I couldnt get any pings nor join any games let alone even login!

I havent looked into the real cause but here is a solution of sorts.

  1. Run as Administrator
  2. Disable Windows Firewall

This seems to fix the problem.

 

I Will find out the real cause/fix when I have time. For now I am just going to switch the FW on or off depending on what game it is.

J

SCCM & x64 PXE errors

I was getting erros deploying to a x64 boot pxe, it would never work..

until *actually* copied the x64 boot image to the DP

duh!

Return top