Post in evidenza

Recovery - Access, Excel, Word, Office and Photo recovery tools and other blog procedures

During these years I had necessity to recover various files (.doc, mdb, .xls, photos...)  I utilized various free tools (here is an exampl...

Program - Free Disk Analyzer Download link

Free Disk Analyzer 1.0 is a software tool program that enables users to discover quickly the large files on their computers, disks and drives, and allows them to organize them to optimize disk usage.

With this program, users can find the largest files on any selected drive or folder, by folder size, average file size, or number of files. Free disk Analyzer 1.0 presents users with an easy to use interface that displays the information they need via graphs and provides sorting functionality by displaying columns too. The interface looks and feels just like a part of windows.

The friendly format of Free Disk Analyzer 1.0 allows users to quickly sort out and organize large video files, photo and archived files, as well as data files. From this program, files can be moved elsewhere, even to a back-up drive or disk, and can be viewed, opened or deleted the same way as in Windows Explorer. The program will show up empty files or folders allowing them to be deleted to free up space as well as files that are no longer used. Reducing the number of large size directories with Free Disk Analyzer 1.0 speeds up computer performance and un-clutters files such as video files that have been cached by sites such as YouTube or Google Video or other video sites and that are no longer need.


Download Link:

http://free-disk-analyzer.software.informer.com/download/ 

Enable Administrator Windows XP home / Windows 7 Home

On Windows XP Home  edition you could need to enable Administrator account and assign him a password.

here are the relative steps to do:

1. Regedit --> HKEY_LOCAL_MACHINE | SOFTWARE | Microsoft | Windows NT | CurrentVersion | Winlogon | SpecialAccounts | UserList |

  "New" > "DWORD", rename it "Administrator" with value 1.


Then give command:

net user administrator /active:yes

otherwise:

wmic useraccount where name='administrator' set disabled='false'
 
2. Error Message: Unable to Log You on Because of an Account Restriction
 
http://support.microsoft.com/kb/290109/en-us
 
The Administrator account is not displayed in User Accounts unless the 
computer is in Safe mode. To change the password for the Administrator 
account:

  1. Click Start, click Turn Off Computer, and then click Restart.
  2. After the computer completes the Power On Self Test (POST), press F8, and then click Safe mode.

    NOTE: If you have difficulty getting to the Safe mode menu command, press F8 repeatedly after you turn on the computer.
  3. Log on as an Administrator, or with another account that has Administrator permissions.
  4. Click Start, click Settings, click Control Panel, and then click User Accounts.
  5. Click the Administrator icon.
  6. Click Create a Password or Change my password.
  7. Type a password for the account, and then retype the password to confirm it.
  8. Type a hint to help you remember the password in the event that you forget it.
  9. Click Create Password or Change Password.
For additional information about how to create and configure user accounts in Windows XP, click the article number below to view the article in the Microsoft Knowledge Base:
279783 HOW TO: Create and Configure User Accounts in Windows XP
 
    On windows 7 Home you need:
     
    1. Start the command prompt (cmd.exe) with admin rights [1] and run this command [2]:
    net user Administrator /active
     
    
    
     
     
    [original article http://www.windows-commandline.com/enable-disable-administrator-account/ 
     
    http://www.azpoint.net/consigli/windows/11694/Windows-XP-abilitare-Administrator-al-logon.asp] 

    Server - Microsoft Active Directory Topology Diagrammer

    The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using LDAP, and then automatically generates a Visio diagram of your Active Directory and /or your Exchange Server topology. The diagramms may include domains, sites, servers, organizational units, DFS-R, administrative groups, routing groups and connectors and can be changed manually in Visio if needed.

    Details

    With the Active Directory Topology Diagrammer tool, you can read your Active Directory structure through LDAP. The Active Directory Topology Diagrammer tool automates Microft Office Visio to draw a diagram of the Active Directory Domain topology, your Active Directory Site topology, your OU structure, your DFS-R topology or your current Exchange 20XX Server Organization. With the Active Directory Topology Diagrammer tool, you can also draw partial Information from your Active Directory, like only one Domain or one site. The objects are linked together, and arranged in a reasonable layout that you can later interactively work withthe objects in Microsoft Office Visio. 


    Supported Operating System
    Windows 2000 Server, Windows 7, Windows Server 2003, Windows Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 x64 editions, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP, Windows XP 64-bit
      Microsoft .NET Framework Version 2.0
      Microsoft Office Visio 2003 or newer
    Download link:

    http://www.microsoft.com/en-us/download/details.aspx?id=13380 

    Tutorial link:

    http://blogs.microsoft.co.il/skepper/2013/12/30/microsoft-active-directory-topology-diagrammer/?goback=.gde_1795261_member_5823474242242519044#!

    Scritping - Using robocopy to replicate files to remote location on scheduled tasks and sending final log and status email

    Here is the script to use robocopy to backup file from a server to another:

    you must schedule this script and executing with:

    powershell file.ps1

    # PowerShell Robocopy script with e-mail notification

    # Change these values
    $SourceFolder = "D:\"
    $DestinationFolder = "\\IP\destination\"
    $Logfile = "C:\robocopy-PCBACKUP.log"
    $EmailFrom = "RobocopyFileServer@domain.XXX"
    $EmailTo = "destination@domain.XXX, destination@domain.XXX"
    $EmailBody = "Robocopy completed successfully. See attached log file for details"
    $EmailSubject = "Daily Robocopy Summary"
    $SMTPServer = "xxx.yyy.www.ttt"
    $SMTPPort = "25"

    # Copy Folder with Robocopy
    Robocopy $SourceFolder $DestinationFolder /b /e /sec /w:30 /r:2 /ipg:5 /log:$Logfile /ndl /np /xd  "d:\System Volume Information" d:\patch d:\path2

    # Send E-mail message with log file attachment
    $Message = New-Object Net.Mail.MailMessage($EmailFrom, $EmailTo, $EmailSubject, $EmailBody)

    $Attachment = New-Object Net.Mail.Attachment($Logfile)
    $Message.Attachments.Add($Attachment)

    $SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, $SMTPPort)
    $SMTPClient.Send($Message)

    # /MIR :: MIRror a directory tree (equivalent to /E plus /PURGE).
    #      /B :: copy files in Backup mode.
    /E :: copy subdirectories, including Empty ones.
    # /W:n :: Wait time between retries: default is 30 seconds.
    # /IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines.
    # /NDL :: No Directory List - don't log directory names.
    # /NP :: No Progress - don't display percentage copied.
    # /XD dirs [dirs]... :: eXclude Directories matching given names/paths.



    <---------------- -------------------------="" articles="" blog="" other="" related="">
    <-------->
    <-------->

    more Robocopy parameters and Examples

    http://www.devadmin.it/2016/02/27/copia-di-una-cartella-mantenendo-i-permessi-ntfs/


    Tips - How to migrate file server share and permissions


    http://www.alessandromazzanti.com/2015/11/tips-how-to-migrate-file-server-share.html


    Server - Salvare i nomi e permessi di condivisioni di rete che utilizzano Netbios


    http://www.alessandromazzanti.com/2011/03/salvare-i-nomi-e-permessi-di.html


    Scritping - Use robocopy to replicate file to remote location



    http://www.alessandromazzanti.com/2014/01/scritping-use-robocopy-to-replicate.html


    [update 2016.07.19]

    To force remote pc robocopy to a shared folder you can reuse these syntaxes:

    robocopy \\yyyyyyyyyyy\c$\Users\xxxxxxxx\Favorites \\yyyyyyyyyyy\BackupUsers$\LAPxxxxxxx\xxxxxxxx\Favorites  /mir /ipg:25 /w:10 /r:1 /XF "*.pst

    robocopy \\yyyyyyyyyyy\c$\Users\xxxxxxxx\Documents \\zzzzzzzzzzzz\BackupUsers$\LAPxxxxxxx\xxxxxxxx\Documents  /mir /ipg:25 /w:10 /r:1 /XF "*.pst


    robocopy \\yyyyyyyyyyy\c$\Users\xxxxxxxx\Desktop Desktop \\zzzzzzzzzzzz\BackupUsers$\LAPxxxxxxx\xxxxxxxx\Desktop   /mir /ipg:25 /w:10 /r:1 /XF "*.pst


    Exchange 2007 - How to renew Certificate on Exchange Owa SSL Brasile


    If you need to renew Exchange 2007 Certificate about OWA feature you could take a look at the following links.

    http://www.techygeekshome.co.uk/2012/11/renew-self-signed-certificate-on.html

    http://www.passionateaboutit.net/KnowledgeBase/tabid/113/EntryId/8/How-to-renew-a-self-signed-certificate-in-Exchange-Server-2007.aspx


    In the past mounth I used precedent links to eviscerate the relative problem.

    Here are some useful commands:

    1. Get-ExchangeCertificate |FLThis only lists details of certificates that are assigned to Exchange Services. Then note down the Thumbprint of the expired certificate.

    2. Take note about Thumbprint and go on like this:

    'Get-ExchangeCertificate –Thumbprint “Thumbprint” | New-ExchangeCertificate'


    3. To enable Certificate on some services:

    'Enable-ExchangeCertificate – Thumbprint Thumbprint” –Services IIS' 

    4. Finally, to remove old certificate:

    Remove-ExchangeCertificate –Thumbprint



    [update 2016.06.07]

    This is an interesting artiche that I used in the past to renew or create Self Signed certificate on Exchange 2003

    SSL Enabling OWA 2003 using your own Certificate Authority

    Create A Self Signed SSL Cert For Exchange Guide

    How to renew an Exchange 2007 Self Signed Certificate.

    Configure SSL for Outlook Web Access (OWA)

    If you need to check Active Sync, 

    Microsoft Remote connectivity Analyzer

    https://testconnectivity.microsoft.com/

    Linux - FSCHK how to use and how to save your data disk

    This article explains 10 practical examples on how to execute fsck command to troubleshoot and fix any filesystem errors.

    Here's the tutorial:

    Now you can find some command:

    1. To view Mounted partition:

    parted /dev/sda 'print'
     
    To check a partition:
     
    fsck /dev/sda6 


    The following are the possible exit codes for fsck command.
    • 0 – No errors
    • 1 – Filesystem errors corrected
    • 2 – System should be rebooted
    • 4 – Filesystem errors left uncorrected
    • 8 – Operational error
    • 16 – Usage or syntax error
    • 32 – Fsck canceled by user request
    • 128 – Shared-library error
    2. To check all Mounted Partition: (inside /etc/fstab)

    fsck -A
     
    It is recommended that you exclude the root filesystem 
    during this global check by adding -R option as shown below. 
     
     # fsck -AR -y
     
    3. Don't use Fstab on filesystem mounted  (like vfat) - M
     
     # mount | grep "/dev/sd*" (to view partition mounted)
     
    so the command of point 2. become:
     
     # fsck -ARM -y 
    
    
    4. Force a Filesystem Check Even if it’s Clean using Option -f
    
     # fsck -ARM -y  /dev/sda6 -f
     
    5. Attempt to Fix Detected Problems Automatically using Option -y
     
     # fsck -y /dev/sda6 
     
     6. Avoid Repair, but Report Problems to Stdout using Option -n
     
     # fsck -n /dev/sda6 
    
    
    7. Automatically Repair the Damaged Portions using Option -a
    
    
     # fsck -a -AR
     
    For more details take a look to original article:
     
    http://www.thegeekstuff.com/2012/08/fsck-command-examples/?goback=.gde_84337_member_5819204731259625476#! 

    Outlook - How to manually update your copy of the Global Address List (GAL) in Outlook

    Original Article: http://accc.uic.edu/answer/how-manually-update-your-copy-global-address-list-gal-outlook

    When changes occur within the main (Global Address Book) on the Exchange server; computers running Outlook 2007 and 2010 may not automatically receive the updates. When this happens you may be missing new entries, see non-existent entries, or notice incorrect entries. Updating your address book synchronizes the cached Address Book with the Global address book, and may fix instances of mail that is bounced back to the sender.
    Note: In order for some GAL entries to show up properly you may need to turn off Cached Exchange Mode. Please visit the document on How to turn on or off Cached Exchange Mode for (Outlook 2007 and Outlook 2010).

    Outlook 2007

    Exchange 2007 Download Address Book


    Exchange 2007 Offline Address Book

    Outlook 2010

    Exchange 2010 Download Address Book

    Exchange 2010 Offline Address Book

    Outlook 2013

    Note: Please make sure cached mode is turned on.
    1. Select the Send/Receive tab on the Ribbon.
    2. Click Send/Receive Groups and then click Download Address Book.
    3. Click OK.

    Programs - Treesize or Free Disk Analyer to view size for every Folder

    Managing file server it would be very useful have an utility that give you a visual report for every folder.

    Usually here are the relative utility that use:

    1. TreeSize Free

    Quickly Scan Directory Sizes and Find Space Hogs TreeSize Free shows the size of a folder including all subfolders and files. In an Explorer-like style, also the wasted space 



    TreeSize Free 

    2. Free Disk Analyzer

    Free Disk Analyzer 1.0 is a software tool program that enables users to discover quickly the large files on their computers, disks and drives, and allows them to organize them to optimize disk usage. With this program, users can find the largest files on any selected drive or folder, by folder size, average file size, or number of files.

    Download

    Image

    720check