Tree ms dos command

ever needed to print a tree structure of a folder location, only to realise that you cannot see it all because the tree command doesnt have enough buffer space.

Well just tell tree to output the tree to a file like this

open a command prompt, then paste

tree c:\users /a > “%temp%\t1.txt” & start notepad “%temp%\t1.txt”

change accordingly

MS Outlook Error when opening

If you recieve this error when you try to open your Microsoft Outloo client

cannot start microsoft outlook cannot open the outlook window

open a run command “Start > Run” and type this

outlook.exe /resetnavpane

Should fix most errors
Failing that try these references for outlook switches

Execute denied for sp_send_dbmail

My backup email error handler noted a few errors in the windows event viewer, the specific error was

The EXECUTE permission was denied on the object ‘sp_send_dbmail’, database ‘msdb’, schema ‘dbo’.

If you have receieved this, then you need to add the user to the database by going to properties of the user and editing the “mapping” ensuring that said user is ticked next to the db “msdb”
Then run the follwing trasact against he msdb daabase replacing the word user here with the user you need to apply this to.

Offline Files and Folders not indexing or saving

Your are wondering why you cant add offline files to your seach index

When you look at your indexed locations and hover over your offline file locations you see the tooltip

indexing of offline files has been dsabled by your systems dministrator

or words to that effect

This implies that there is a policy restricting indexing of offline files being applied either locally or from the Domain Controller the computer is registered to (if at all).
Get your admin to check the group policies applied locally and from the DC, paying particular interest in the location
Computer Configuration/Administrative Templates/Windows Components/Windows Search

Ensure “Disable indexing of offline files cache” is not configured.

Another problem i encountered was, offline folder changes were not working, MS Excel and Word was hanging when trying to save to an offline location, yet notepad could happily save a txt doc to the location.
As it turns out, its an NT authentication issue, if you are able, set the security on the root folder of the offline folder so that Domain Users have full control, cascade these permissions to all child objects and then try your tests with excel word and folder changes. This worked for me.

Add a non indexed UNC as a library

Add a non-indexed UNC as a library
1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in an elevated command prompt to make a symbolic link. Name the link the same as the folder you created above.
i.e – mklink /d c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.

source here