Sunday, February 23, 2014

User Profile Cannot Be Loaded

To solve this problem


you need to login in safe mode. To access safe mode you have to restart the computer and press F8 and login with your admin account. Then access the registry editor by typing in your run command (window+r) regedit.  
















In your registry editor go to this folder HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows NT\CurrentVersion\ProfileList. Then look for the user account that is having problem usually it has the same name but the difference is it has a .bak at the end of the file name as you can see in the image below.
























Next is you have to interchange the file name of both folder by renaming the first folder to .ba then the second folder will have the file name of the first one and then change the first folder to .bak instead of .ba so the result would be as seen in the image below




Then you have to modify the RefCount and State of the file name that does not have the .bak. Just right click the RefCount and State choose modify then change the value to zero (0) to both. Refer to the image below

right click RefCount choose modify
Change Value data to zero(0) press ok
  Same goes with State. After restart your computer and you can now login to your account

Note: I am using Windows 7 64 bit and it is connected to the domain.

Reference:
Microsoft Support
iYogi











Friday, July 12, 2013

Enable Administrator account Windows 7 Domain

First thing you will do is boot your computer in Windows 7 and Choose Repair your Computer as shown below
Figure1

Then it look for available operating system and let you choose for a compatible OS then click next
Figure2

In System recovery option choose Command Prompt
Figure3

In your Command Prompt type regedit and it will show the image below. 
Figure4

Click HKEY_USERS then go to file tab then Load Hive
Figure5

In your Load Hide window look in the drive that is shown in Figure2, in my case it is in drive D:\Windows\System32\Config then select SAM, click open
Figure6

Then type SAM_TEMP and click ok
Figure7
In your registry editor go to HKEY_USERS\SAM_TEMP\SAM\Domains\Acount\Users\000001F4 then double click F
Figure8

Change '11' to '10' located in row 0038 as shown below then click OK
Before
After














Click SAM_TEMP then in your file tab choose Unload Hive and click yes


Close Registry Editor and exit the command prompt. In your System Recovery Option Window click Restart. When the computer is connected to domain just type .\Administrator and hit enter.


Reference:
Best Practive: How to enable a disabled Local Administrator account offline in Windows 7 (even when using BitLocker)

Monday, July 1, 2013

Setting up CloneZilla Server in Ubuntu 12.04

I'm usign Ubuntu 12.04 64 bit. After DRBL installation you need to setup the server. I am using two network cards, 1 for my internet connection the other one is for Clonezilla Server. In the upper right side of your Ubuntu desktop click the network indicator and then choose edit connection



Then choose Wired connection 2 because the Wired connection 1 is for my internet access, then click edit

after you click edit choose IPV4 Settings Method should be manual then click add and then save.
Address: 192.168.1.254
Netmask: 255.255.255.0
Gateway: 192.168..254


Next go to you terminal (Ctrl+Alt+T) type sudo drblsrv -i


After the drblsrv installation type sudo drblpush -i

I choose the default option. If the following wont work try drbl4imp
Note: type: nano /etc/rc.local and at the end of the file, add drbl-all-service start, save and exit

Reference: Clonezilla SE - Server and Network Configuration, Clonezilla Installation


Thursday, June 27, 2013

BOOTMGR is missing


To fix BOOTMGR is missing of a Windows 7 operating system you must have the Windows 7 installer. This error usually happen when a computer is not properly shutdown or force shutdown results to corrupted file system or it can be an operating system upgrade. First thing to do is boot (F8, F12, esc and etc) it to Windows 7 installer. When you see the figure below just click next

Figure 1

then choose repair

Figure 2

After it will search for a system recovery option as shown below
Figure 3

Then choose the Window 7 operating system and click next. Sometimes it will ask you to restart before Figure 4 is shown, if that happens just restart and then do the same step until you reach Figure 4.
Figure 4
You can either choose Startup Repair or Command Prompt
Figure 5
In Startup Repair it automatically check errors and repair it as shown below
Figure 6
until it will show you that it is fix successfully  then click finish.
Figure 7

In command prompt you just need to type bootrec /fixboot and press enter. Restart and you are done.
Figure 8

Reference : 

Tuesday, June 18, 2013

Setting up Django in Eclipse

I am using Windows 8, Django 1.5.2, Eclipse IDE for Java EE Developers 64 bit, MySQL Workbench 5.2.47 CE, Python 2.7.5 64 bit since I can't get Python 3.3 to work because the requirement of MySQL-python-1.2.3.win-amd64-py2.7 is Python 2.7. ez_setup.py just copy and paste the content and save it as ez_setup.py same with get-pip.py and place it to where your Python27 folder is located, as for me it is in C:\Python27. Add: C:\Python27;c:\python27\scripts;c:\python27\bin to PATH. 

In your command prompt type cd C:\Python27 then python ez_setup.py. When it's done type python get-pip.py. Next is to install django just type in you command prompt pip install django

After the following software mentioned above are installed, in your Eclipse go to help and click eclipse market place as shown in Figure 1


Figure 1

  
Then in the search tab type Django and click install, in my case it is already installed, basically you will just have to click and agree to everything until you are ask to click finish.
Figure 2

Next is go to preference
Figure 3


In your preference window click PyDev and then choose Interpreter - Python then click Auto Config and basically just agree to what is ask and click that is related to your python 2.7. 
Figure 4



Then add Django folder to PYTHONPATH as shown in Figure 5, click ok and apply settings
Figure 5

In creating a new project just go to file, new then others, as shown below.
Figure 6
Then choose PyDev Django Project
Figure 7

Type in the project name. I choose python 1 because that is the file name of my interpreter where python27 is created, then click next
Figure 8


In Django Settings before you type in the info of your mysql details you have to create firs a database in MySQL Workbench, so basically in Figure 9 are the info of my mysql.
Figure 9


In MySQL Workbench configuration just click Create New EER Model
Figure 10


and double click mydb and type below the mysql database filename that you desire, in my case its coop as shown in Figure 9, then save your database.
Figure 11

After my project is created go to run configuration as shown below 
Figure 12

Then follow the image below
Figure 13


Just type in the name Django 1.5.1 and then browse the Django file in your computer as for me it is located in C:\Django-1.5.1 
Figure 14
click OK until you find the image below and you are ready for coding your Django


Resources: 
Django: Installing Eclipse and PyDev for djangoUsing Django 1.4 with EclipseInstall Django in Eclipse with PyDev on Windows 8

Monday, June 10, 2013

Saving and restoring image using Clonezilla Server in Ubuntu 12.04

I'm using Ubuntu 12.04 64 bit




After installing clonezilla server, in your terminal (Ctrl + Al t+ T)  type:
sudo su
type the password
dcs

it will show you Figure 1, select the "All select all the clients" and then follow the highlighted text in the figure


Figure  1

























Figure 2



Figure  3


This set-up will let your client choose individually whether to save or restore the image in your server


Figure  4


























To be safe I choose the default configuration
Figure  5

























Figure 6 will do nothing after restoring or saving the image, unless you type poweroff (that is one word)
Figure 6























Figure 7 shows that you are done for individual clients settimgs
Figure 7

























If you want to set-up more clients to save or restore at once, choose save disk or restore-disk 

In this example I will choose restore disk.


Figure 8














Figure 9


















Figure 10 shows the save image that you want to restore to your clients.

Figure10






















Figure 11















Figure 12 will ask you how many clients to clone
Figure 12
















In this Figure 13 I put 21 clients
Figure 13













Figure 14











You are done with restoring images.

In saving a file same step with restoring images, the only difference is it will ask you the file name as shown in Figure 15

Figure 15













Note: In setting up your client make sure that the OnBoard LAN is enable you can find this in your bios setup






Reference:
CloneZilla Saving and Installing image