Archive for May, 2015

For error like 0x000000e or “can’t find hardware” try this combination in Windows 7/8/8.1:

bootrec /fixmbr
bootrec /fixboot
bootsect.exe /nt60 all /force
bootrec.exe /rebuildbcd

Also this could help:

bcdedit /export C:\BCD_Backup
c:
cd boot
attrib bcd -s -h -r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd

But if not… here’s a heavy method:
Advanced DiskPart and Boot creation process (must have a free 100MB for a Windows System Reserved Partition):

diskpart
list disk
select disk 0 #Choose your system disk
create partition efi size=100
list partition #Created partition must be selected
format quick fs=fat32 label="SysRec"
assign letter=X
create partition msr size=128
list partition #Check for errors
list vol
select vol 3 #Windows installation number should be used
assign letter=C
exit

Copy the EFI:

mkdir X:\EFI\Microsoft\Boot
xcopy /s C:\Windows\Boot\EFI\*.* X:\EFI\Microsoft\Boot

Create the whole new BCD store:

X:
cd EFI\Microsoft\Boot
bcdedit /createstore BCD
bcdedit /store BCD  /create {bootmgr} /d “Windows Boot Manager”
bcdedit /store BCD /create /d “Windows 8” /application osloader
#Show {guid} like {c0dfc4fa-cb21-11dc-1337-005056c00008}, replace below with {guid}
bcdedit /store BCD /set {bootmgr} default {guid}
bcdedit /store BCD /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
bcdedit /store BCD /set {bootmgr} displayorder {default}
#{default}!
bcdedit /store BCD /set {default} device partition=c:
bcdedit /store BCD /set {default} osdevice partition=c:
bcdedit /store BCD /set {default} path \Windows\System32\winload.efi
bcdedit /store BCD /set {default} systemroot \Windows
exit

To fix the UEFI use:

bcdboot c:\Windows /s X: /f ALL

NetFlix heresy

Posted: 20 May 2015 in Humour
Tags: , ,

Anywhere, yeah, literally. There’re of course methods to bypass this – use foreign DNS in router (USA e.g.), use Proxy or just use a VPN (non-free usually). BUT… you can also use PopcornTime.

NetFlix

The continuators of the original torrent PopcornTime, Time4Popcorn forked their legacy to Poland. That means that you can watch movie, or tv show on your station with no cost involved. You can read the whole story on the wiki website. The good thing in the application besides its content is free is that it can use a VPN tunnel, so basically… you know what I mean. Download the client at popcorntime.io

XLive.dll missing error

Posted: 6 May 2015 in Microsoft
Tags: ,

You have bought an original game like Fallout 3 or GTA and it doesn’t work?
Just install “Games for Windows” from Microsoft, download here.

When creating a new Active Directory structure or you’re adding a new site, it is quite important decision to make to choose a correct domain name because there could be a lot of errors and software repercussions on the topology infrastructure if something could go wrong. This is of course a business decision influenced by organization needs, so sometimes this task can be heavy. Also administrators don’t have day experience on this task, so there is a scary factor.

The task is quite easy to achieve IF everything in the network is correctly configured (especially DNS, trusts and GPO).

1. Main prequisite is to test DNS servers and domain controllers between the sites. To achieve this you simply can do from both servers:

nslookup [servername1]

2. For the rename for the sack of safety you should remove the trusts between the servers or just make in one-directional from the Active Directory Domains and Trusts panel.

3. If you aren’t quite sure if the structure is totally valid there’s an easy command to do so. This command is also the main command for changing the Domain names. An xml file will be created that lists the current domain information, namely ForestDNSZones, DomainDNSZones and NetBios name. The file is in %sysdrive%\Users\[user_that_issued_command], e.g. C:\Users\Administrator\

rendom /list

4. Open the DomainList.xml and rename all names for ForestDNS, DomainDNS and NetBios. Save it to the same location, I mean like this:

(...)
DomainDNSZones.old.domain.com
(...)
ForestDNSZones.old.domain.com
(...)
old.domain.com
(...)
OLD
(...)

Change it to:

(...)
DomainDNSZones.new.company.com
(...)
ForestDNSZones.new.company.com
(...)
new.company.com
(...)
NEW
(...)

5. You can verify your changes by typing command

rendom /showforest

6. Now that we feel more confident, it is time to upload the modified xml to our domain controllers using the command:

rendom /upload

From this place a Windows firewall should be turned off because there could be a couple of errors showing.

7. If there are no errors you can go to this command and verify the domain name change radiance:

rendom /prepare

8. From this point you will type last command, but wait, the domain controllers will restart and the same time:

rendom /execute

9. You should reboot the servers twice, because… this is Microsoft, and sometimes gpupdate /force is quite annoying. Otherwise it will continue to use credentials from the old domain and will no longer be able perform changes on the new domain. By the way, all member servers and workstations will need to be rebooted twice to reflect the change, but not yet!

10. Renaming the GPO’s:

gpfixup /olddns: old.domain.com /newdns:new.company.com
gpfixup /oldnb:OLD /newnb:NEW

11. Renaming computers:

netdom computername dc0.old.domain.com /add:dc0.new.company.com
netdom computername dc0.old.domain.com /makeprimary:dc0.new.company.com

12. NOW is the time to reboot workstations and log users in the new manner. AFTER this operation you can do:

rendom /clean

13. Hint: if something doesn’t work – always rebo0t twice…

Daaaaamn. I’ve waited long for a portal that I can last long to achieve goals of finishing co0l hack/crack tests aaaaand… it’s created! Rozwal.to – is a hack portal, or I can say… and education portal where are different levels of difficulty. Everyone can find something on their knowledge level, but the best thing is that it is Polish, and it is from Sekurak.pl. There wasn’t really go0d stuff after tdhack, but there it is!

*going for frites and coke and start getting points!