Archive for the ‘Tricks’ Category

Windows 7 Service Pack 1 – Access Denied (no further details)

I was trying to install Windows 7 Sp1 on a laptop and I was getting an “ACCESS DENIED” error with no further errors. After a bit of tshooting I ended up running processmon and it turned out there was a DENY set on the C drive for USERS, that means when the service pack was attempting to install it would not be able to create the C:\32893928109093829312\ folder.. that’s one of the first steps.

I removed the DENY permission and everything worked well.

process mon is a great tool, Good luck

Disable startup repair (7/2008)

So one of my servers was rebooted and never came back up. It was stuck on the startup repair screen. I would rather it boot loop then never retry. So to disable the startup repair run this command.

bcdedit /set {default} bootstatuspolicy ignoreallfailures

And to re-enable it

bcdedit /set {default} bootstatuspolicy displayallfailures

Forefront – Remove old computer records

I was checking out the Forefront console ( I have been deploying many virtual servers/clients) for my studying, I came across alot of old stale computer records (see image1), I wanted to quickly remove old records that have not made contact for a few days, as they are messing with the reports etc. (see link: http://support.microsoft.com/kb/2272146 )
Basically run the tool on the FCS Server, you can choose the date/time to delete from, I would check the log before actually applying the /doremove switch.

Get the tool here: http://support.microsoft.com/kb/2272146 (you need to request it to be sent)

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/

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 & 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!

VillainROM 2.1 (HTC Sense Enabled 2.1 ROM) & Vanillain 1.0

Sometimes it sucks to get files from 4shared (20kb/s!!), RS etc..

I decided to host any ROMS that I use here.. for faster access..

enjoy!

Villain 2.1

  • Source: http://forum.xda-developers.com/showpost.php?p=5438050&postcount=1
  • MD5SUM 2a020dd5efe6571df2e5fa5704bb3c32
  • Villain2.1.zip

 

Vanillain 1.0 (fast -htc stuff)

  • Source: http://forum.xda-developers.com/showthread.php?t=629959&postcount=1
  • MD5SUM: cf5e88e50d8e4b59c3da75b5acf3983f
  • Vanillain.zip


Return top