Skip to main content

TBlog

Go Search
HedCo Intranet Site
گزیده اخبار
وبلاگ ها
HSE
فیلم های شرکت
  

Other Blogs
There are no items in this list.
HedCo Intranet Site > ICT > TBlog
Troubleshoot Blog
circular reference warning in Excel 2007
EXCEL 2007: MS Office Button > Excel Options > Formualas > Calculation Options > Enable iterative calculation > Set Maximum Iterations to (0)
Active Directory Backup and Restore : Windows Server 2008 R2

 

First you should install Windows Server Backup Features from Server Manager -> Add features.

Normally you cannot find specific backup option for backup system stats that contains Active Directory data.

So, for tack backup from domain controller active directory follow the steps below:

1. Open up your command prompt by clicking Start and type “cmd” and hit enter.

2. In your command prompt type “wbadmin start systemstatebackup -backuptarget:e:” and press enter.

Note: You can use a different backup target of your choosing

3. Type “y” and press enter to start the backup process.

When the backup is finished running you should get a message that the backup completed successfully. If it did not complete properly you will need to troubleshoot.

Now you have a system state backup of your 2008 Server.

 

Authoritative Restore of Active Directory

So now what if you accidentally delete an OU, group, or a user account and it’s already replicated to your other servers? We will need to perform an authoritative restore of the Active Directory object you accidentally deleted.

1. To do this you will need to boot into DSRM (Directory Services Restore Mode) by restarting your server and pressing F8 during the restart.

2. Choose Directory Services Restore Mode from the Advanced Boot menu.

3. Login to your server with your DSRM password you created during Active Directory installation.

4. Once you’re logged into your server and in DSRM safe mode, open a command prompt by clicking Start, type “cmd“, and press enter.

5. To make sure you restore the correct backup it’s a good idea to use the “wbadmin get versions” command and write down the version you need to use.

6. Now we need to perform a non-authoritative restore of Active Directory by typing “wbadmin start systemstaterecovery -version:04/14/2009-02:39“.

Note: The version of backup will vary depending on your situation. Type “y” and press enter to start the non-authoritative restore.

7. Go grab some coffee and take a break while the restore completes.

8. You can mark the sysvol as authoritative by adding the –authsysvol switch to the end of the wbadmin command.

9. But if you want to restore a specific Active Directory object then you can use the ever familiar ntdsutil.

For this example we are going to restore a user account with a distinguished name of CN=Test User,CN=Users,DC=home,DC=local. So the commands would be:

ntdsutil
activate instance ntds
authoritative restore
restore object “cn=Test User,cn=Users,dc=home,dc=local”

Note: The quotes are required

10. Reboot your server into normal mode and you’re finished. The object will be marked as authoritative and replicate to the rest of your domain.

 

Using Active Directory Snapshots

There is a really cool new feature in Windows Server 2008 called Active Directory Snapshots. Volume Shadow Copy Service now allows us to take a snapshot of Active Directory as a type of backup. They are very quick to create and serve as another line of defense for your backup strategy.

With your server booted into normal mode open a command prompt by clicking Start, type “cmd“, and press enter.

We are going to use the ntdsutil again for creating the Active Directory snapshots. The commands are:

ntdsutil
snapshot
activate instance ntds
create
quit
quit

So now that you have a snapshot of AD, how do you access the data? First we need to mount the snapshot using ntdsutil. The commands are:

ntdsutl
snapshot
list all
mount 1 — (Note: You should mount the correct snapshot you need; for this example there is only 1.)
quit
quit

Your snapshot is mounted, but how do you access the data? We need to use the dsamain command to accomplish this. Then we need to select an LDAP port to use. The command is as follows:


dsamain –dbpath c:\$SNAP_200905141444_VOLUMEC$\WINDOWS\NTDS\ntds.dit –ldapport 10001

Now we need to go to Start, Administrative Tools, then Active Directory Users and Computers.

Right click Active Directory Users and Computers and select Change Domain Controller.

In the area that says < Type a Directory Server name [:port] here > enter the name of your server and the LDAP port you used when running the dsamain command.

For my example it would be: WIN-V22UWGW0LU8.HOME.LOCAL:10001

Now you can browse the snapshot of Active Directory without affecting anything else negatively.

 

 

 

 

 

 

 

"search results may be incomplete because because items are still being indexed. click here for more details."

outlook 2007 


After "clicking for more information", I saw the number of un-indexed items continued to grow! I wasn't able to find a result doing a quick search online, so hopefully this will help others with the same problem. Here's how I resolved it...

Open control panel and then click the Indexing Options icon. You'll notice Microsoft Office Outlook under Included Locations. Click it to highlight, and then click the Advanced button.



Next, click the Rebuild button. Answer OK to the warning, "Are you sure you want to rebuild the index?". Wait as the index is rebuilt.

If after rebuilding the index you still get the same error, there is likely corrupt data in your .pst file

 

 

Export Backup Exec configuration  and Import it to new server

First Install a new symantec backup exec software in new server (The version of new symantec that we would be install should be the same as the version of our symantec software that exist now ).Then the procedure Like blow:

Step 1 )  On the old Backup Exec server , open windows services & stop the service “SQL server (BKUPEXEC)” , this will stop all the Backup Exec services. Go to the Backup Exec installation directory \Program Files\Symantec\Backup Exec\Data. And  you just need to copy the two files bedb_dat.mdf & bedb_log.ldf to a different location. This file will contain all the jobs & policies. Also copy your catalogs folder

Step 2) Copy the database files from the old server on the desktop of the new server & then Run Beutility(\Program Files\Symantec\ Backup Exec\Beutility.exe).Then After open Beutility.exe select “All Media Servers” and then in the right panel right click on the selected media server and select “Copy Database...” to import the desktop BEDB files(.mdf and .ldf file in the desktop). After the operation is completed open Backup Exec console to confirm.
Disable or Enable Delete Confirmation Dialog in Windows 7 or Vista

 

Every time you delete a file, Windows asks you “Are you sure you want to move this file to the Recycle Bin?” This is typically a good thing, to prevent you from deleting files by accident, but if you are trying to do some cleanup and need to delete a lot of files, you might not want to be prompted every single time.

There’s a simple way to turn it off, thankfully, although I’d recommend you leave it on the majority of the time.

image

Just right-click on your Recycle Bin and choose Properties from the menu.

Now you’ll see the Trash Properties dialog, and notice the “Display delete confirmation dialog” at the bottom.

Just uncheck the box, and close the dialog. No more confirmations! (I’d still recommend that you turn it back on when you are done cleaning up your computer)

Restoring individual user mailbox or email in Exchange Server 2003 with Symantec Backup Exec 2012 R3

When you want to restore a mail, mailbox or part of mailbox like Inbox, Sent or ... you should do the below steps:

1.     Check the Exchange Server Information Store size on the exchange server. Because you should have enough disk space on Symantec Backup Exec Server (not exchange server). For Exchange Server restore tasks, Symantec Backup Exec restores complete Exchange Information Store on the disk. Then restore requested items from it.

2.     Ask user to close his/her Outlook during restore process.

3.     In Symantec Backup Exec Go to Tool -> Option -> Restore and specify the GRT path on server. There should be enough space for restoring whole Exchange Information Store and should be local. You cannot use network path.

4.     In Symantec Backup Exec, go to job setup. Select New Job from Restore Tasks.

5.     On the left panel click on Selection, then select the exact mail, folder or mailbox you want to restore. Insert the tape that has required data to drive.

6.     On the left panel click on Resource Credentials. Click on test all. The result should be successful.

7.     Don’t change anything in Destination section on the left panel.

8.     In the setting section on the left panel, click on Microsoft Exchange.

9.     Leave “Automatically recreate user accounts and mailboxes” unchecked.

10.  Leave “When restoring individual mail message and folders, restore over existing messages and folders” unchecked.

11.  Don’t change anything in Log recovery option.

12.  In “path on Exchange Server for temporary storage of log and patch files” specify the folder on Exchange Server which has enough space for mailbox.

13.  Uncheck “Dismount database before restore”

14.  Check both “Commit after restore complete” and “Mount database after restore”.

15.  Click Run now.

How to plot in color with DWG?
There is an arrow button in the bottom right hand corner of the Plot screen , If you press that you should get a larger display which includes the pen set up dialogue. in plot setting, under Plot style pen Assignments> select None
The plotter configuration cannot be used for one of these reasons:
I get this error in AutoCad when trying to print:
"The plotter configuration cannot be used for one of these reasons: the driver cannot be found, or the driver has a problem. The None plot device has been substituted."

Solution:
Just plot it to a printer that you CAN print to and then save the drawing. This will save the setting and it will default to your printer (the last one it sent a plot to).
Notes about supported openGL graphic cards
What is OpenGL?
OpenGL is the industry-standard, used in numerous software applications and games, to draw 3D geometry. Most Microsoft Windows and Apple OS X operating systems come with a software-based OpenGL driver. However, these drivers rely heavily on the CPU to perform the rendering calculations of OpenGL (a task that is not done efficiently by most CPUs).

Many video card manufacturers have also built cards that support the OpenGL standard. These cards perform the rendering calculations using a specialized chip called the Graphics Processing Unit or GPU (instead of relying on the CPU). These chips significantly enhance OpenGL performance upward of 3000 percent. This performance enhancement is known as Hardware Acceleration.

Solution

For some OpenGL cards, such as the Matrox G400/G450, you can speed up the display of background images by using texture RAM. Users of these cards should enable 'Use Texture RAM' to increase performance in the Particles operator. By default, the option 'Use Texture RAM' is enabled.
OpenGL hardware acceleration is not supported on laptop computers running the Macintosh or Windows operating systems. This is due to limitations of the currently available laptop chipsets from the manufacturers.

You may experience different results using OpenGL acceleration on different OpenGL hardware cards due to the supported capabilities of each card. For example, some cards may suport full anti-aliasing, while other cards may have limited anti-aliasing support or no anti-aliasing at all. Make sure your OpenGl hardware supports the features you need for your project before attempting to use OpenGL for final rendering. For this reason, we recommend that you use OpenGL to speed up the preview of your work, but use software rendering for your final renders, much as you would in any other 3D application.
 
Some hardware/software combinations may result in corrupted renders using Software OpenGL. Always use the Software Renderer with unsupported graphics cards.
If your graphic card support OPENGL ,I recommend that Update or reinstall your graphic card driver.
Cannot Edit Word Document 2007

This Word document has been protected to only allow filling in form fields. You must have the password to remove protection and edit the form.

The editing controls for Microsoft Word forms are not shown in the ribbon by default, so you have to activate the Developer tab to use them.

To show the Developer tab, do the following:

  1. Click the Office Button.
    The Microsoft Word 2007 Office Button
  2. Click Word Options.
    The Microsoft Word 2007 Office Button
  3. On the Popular tab, select Show Developer tab in the Ribbon.
  4. Click OK.

To remove the password and allow editing, follow these steps:

  1. In the Protection group, click Document Protection. A panel will open on the right.
  2. Scroll to the bottom of the panel, then click Stop Protection.
  3. Enter the password for the document, then click OK.


1 - 10 Next

 ‭(Hidden)‬ Admin Links