Dismount any databases, or if the database won't mount because the disk is full. If the database won't mount, check and make sure it is in a clean shutdown state:
eseutil /MH "Database Location and Name"
Make sure it reports "clean shutdown" or "consistent"
MOVE the log files to somewhere you have space and remount the database.
Monday, January 6, 2014
Friday, January 3, 2014
Users redirectored folders show as My Documents in the folders
If you are redirecting folders to a server share and the folders all show as "My Documents" this could be due to the desktop.ini in the root of the users folder. If the administrators or domain admin group has full control, set them to deny read. Make sure the user is the owner of the folder as well.
Friday, December 27, 2013
Use PSEXEC to run a command against a list of machines and have it run a command from the machine
Start by creating a list of computers that need the command run on them (pclist.txt.). Use the file copy command for /f %a in (pclist.txt) do copy /y \\server\share\file.bat \\%a\c$\ to copy the files to the machines in the pclist.txt. In this example the file is copied to the root. Next, from an elevated command prompt run:
psexec @pclist.txt c:\file.bat
This will execute the batch or exe file you copied to the remote machine on the remote machine.
If you need to authenticate run:
psexec @pclist.txt -u domain\user c:\file.bat and it will prompt for a password.
psexec @pclist.txt c:\file.bat
This will execute the batch or exe file you copied to the remote machine on the remote machine.
If you need to authenticate run:
psexec @pclist.txt -u domain\user c:\file.bat and it will prompt for a password.
copy files to multiple remote computers
To copy a file to multiple computers first create a txt file with all the computer names in it. Place the file you want to copy in an accessible location for all the machines. Run the following command:
for /f %a in (pclist.txt) do copy /y \\server\share\file.txt \\%a\c$\
This "should" copy the file to the machines listed assuming you have remote access.
for /f %a in (pclist.txt) do copy /y \\server\share\file.txt \\%a\c$\
This "should" copy the file to the machines listed assuming you have remote access.
Thursday, December 19, 2013
Exchange dynamic distribution groups based on security groups.
To create an exchange dynamic distribution group based on security group this can be done through powershell. The command specifies where to create the dynamic distribution group and what group the users will be a member of to pull the addresses from.
The group name is “Dyn_universal” the security group is dyn_test, so any user in the OU test that is a member of dyn_test will get mail sent to the distribution group.
New-DynamicDistributionGroup "Dyn_universal" -Alias "Dyn_universal" -OrganizationalUnit "OU=Test,DC=mydomain,DC=local" -RecipientFilter "MemberOfGroup -eq 'CN=dyn_test,OU=test,DC=mydomain,DC=local'"
Tuesday, November 5, 2013
Unable to send pictures from phones through exchange
With the following command you can change the value (in this case 10MB):
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost
C:\Windows\System32\inetsrv\appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /uploadReadAheadSize:"10485760" /commit:apphost
restart IISAdmin service.....
Tuesday, September 17, 2013
Remove .local from exchange web settings
1.Start the Exchange Management Shell.
2.Modify the Autodiscover URL in the Service Connection Point. The Service Connection Point is stored in the Active Directory directory service. To modify this URL, type the following command and then press ENTER:
Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml
3.Modify the InternalUrl attribute of the EWS. To do this, type the following command, and then press ENTER:
Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)"
-InternalUrl https://mail.contoso.com/ews/exchange.asmx
4.Modify the InternalUrl attribute for Web-based Offline Address Book distribution. To do this, type the following command, and then press ENTER:
Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)"
-InternalUrl https://mail.contoso.com/oab
5.Open IIS Manager.
6.Expand the local computer, and then expand Application Pools.
7.Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.
Subscribe to:
Posts (Atom)