Wednesday, November 23, 2011
Friday, November 11, 2011
Citrix Receiver 3.0 Enable Passthrough Authentication on XenApp 6.5
Hotfix XA650W2K8R2X64001 - For Citrix XenApp 6.5 for Windows Server 2008 R2 - English
Thursday, September 29, 2011
Hyper-V VSS Writers Missing
This is a known issue when orphaned configuration files or broken symbolic links exist.
To get around this you can try deleting the broken symbolic links:
Locate to the path "C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\" (you need to enable the Show hidden files and folders). Compare each symbolic link (these .xml files are actually symbolic links) with your existing virtual machine, find out which .xml file is orphaned and then delete it. After this, restart the VMMS service.
Friday, August 26, 2011
Monday, August 8, 2011
Delete folder with long path
When you attempt to delete a folder and receive PATH TOO LONG, you would normally Use the 8.3 short name, unless it has been disabled. Type dir /x
I have scripted DelFolder.bat to delete a folder, even if the path is too long.
The syntax for using DelFolder.bat is:
DelFolder FolderPath
Where FolderPath is the path to the folder you wish to delete.
NOTE: DelFolder.bat uses RoboCopy.exe, which must be located in a folder that is in your PATH.
DelFolder.bat contains:
@echo off if {%1}=={}
@echo Syntax: DelFolder FolderPath&goto :EOF
if not exist %1 @echo Syntax: DelFolder FolderPath - %1 NOT found.&goto :EOF
setlocal
set folder=%1
set MT="%TEMP%\DelFolder_%RANDOM%"
MD %MT%
RoboCopy %MT% %folder% /MIR
RD /S /Q %MT%
RD /S /Q %folder%
endlocal
Set Home Folder Permissions
@echo off
setlocal
:ok
set pf=%1
set dom=%2
for /F "Tokens=1" %%a in ('dir "E:\Users" /AD /B') do call :parse %%a
endlocal
GOTO :EOF
:parse
echo %*
ICACLS "E:\Users\%*" /reset /T
ICACLS "E:\Users\%*" /grant:r "domain.local\%*":(OI)(CI)F
ICACLS "E:\Users\%*" /setowner "domain.local\%*" /T
:end
----------------------------------------------------------------------------------------------
Monday, August 1, 2011
IOS VPN Template
encr 3des
hash sha
authentication pre-share
group 2
crypto isakmp key xxxxxxxx address 200.200.100.1
no crypto isakmp ccm
crypto ipsec transform-set VPN-TRANSFORM esp-3des esp-sha-hmac
crypto map VPN-LINKS 10 ipsec-isakmp
set peer 200.200.100.1
set transform-set VPN-TRANSFORM
match address 110
int dialer 0
crypto map VPN-LINKS
access-list 110 permit ip 10.0.0.0 0.0.0.255 10.10.0.0 0.0.0.255
Friday, July 29, 2011
Exchange 2003 - ActiveSync Issue
http://forums.precentral.net/wm-synchronization/109210-exchange-active-sync-hosed-2.html To ensure Outlook Mobile works with Active Synch without a front end Server do the following: 1. Start Internet Information Services (IIS) Manager. 2. Locate the Exchange virtual directory. The default location is as follows: Web Sites\Default Web Site\Exchange 3. Right-click the Exchange virtual directory, click All Tasks, and then click Save Configuration to a File. 4. In the File name box, type a name. For example, type ExchangeVDir. Click OK. 5. Right-click the root of this Web site. Typically, this is Default Web Site. Click New, and then click Virtual Directory (from file). 6. In the Import Configuration dialog box, click Browse, locate the file that you created in step 4, click Open, and then click Read File. 7. Under Select a configuration to import , click Exchange, and then click OK. A dialog box will appear that states that the "virtual directory already exists." 8. In the Alias box, type a name for the new virtual directory that you want Exchange ActiveSync and Outlook Mobile Access to use. For example, type exchange-oma. Click OK. 9. Right-click the new virtual directory. In this example, click exchange-oma. Click Properties. 10. Click the Directory Security tab. 11. Under Authentication and access control, click Edit. 12. Make sure that only the following authentication methods are enabled, and then click OK: • Integrated Windows authentication • Basic authentication 13. Under IP address and domain name restrictions, click Edit. 14. Click Denied access, click Add, click Single computer, type the IP address of the server that you are configuring, and then click OK. (If server has multiple IP Addresses, you must add all of them) 15. Under Secure communications, click Edit. Make sure that Require secure channel (SSL) is not enabled, and then click OK. 16. Click OK, and then close the IIS Manager. 17. Click Start, click Run, type regedit, and then click OK. 18. Locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters 19. Right-click Parameters, click to New, and then click String Value. 20. Type ExchangeVDir, and then press ENTER. Right-click ExchangeVDir, and then click Modify. NoteExchangeVDir is case-sensitive. If you do not type ExchangeVDir exactly as it appears in this article, ActiveSync does not find the key when it locates the exchange-oma folder. 21. In the Value data box, type the name of the new virtual directory that you created in step 8. For example, type /exchange-oma. Click OK. 22. Quit Registry Editor. 23. Restart the IIS Admin service. To do this, follow these steps: a. Click Start, click Run, type services.msc, and then click OK. b. In the list of services, right-click IIS Admin service, and then click Restart. If you use Symantec Mail Security for Exchange, change the following tweak: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan ProActiveScanning=1 Reference for solution: http://support.microsoft.com/kb/817379/ http://discussion.treocentral.com/ar.../t-109210.html http://kb.palm.com/SRVS/CGI-BIN/WEBC...tKB,CASE=43165 http://technet.microsoft.com/en-us/e.../bb288524.aspx | |
Tuesday, July 19, 2011
VMware Player vmnetcfg
VMware Player vmnetcfg
http://www.sohoadvisers.com/tutorials/32-vmware-player/64-vmware-player-vmnetcfgRecently I was using VMware Player 3 on my laptop but I was not able to get an IP address with Bridged Networking selected. Being a user of VMware products for many years, I knew there was a quick fix.
I navigated to the VMware Player directory to run vmnetcfg but it was not there. Unfortunately, the new version of VMware Player doesn’t include vmnetcfg in the installer anymore. Lucy for all of us, it is included in the installer.
To extract vmnetcfg.exe from the installer do the following:
1. Run the installer with /e option. For example:
VMware-player-3.0.0-197124.exe /e .\extract
Contents will be extracted to “extract” folder.
2. Open “network.cab” and copy vmnetcfg.exe to your installation folder,
typically “C:\Program Files\VMware\VMware Player\”.
Now you can run vmnetcfg to exclude network adapters from binding.
Monday, June 20, 2011
SBS 2008 - Cleanup Large Sharepoint Log files
http://support.microsoft.com/kb/2000544
1. Connect to windows internal database by using SQL Management Studio Express. Use \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query as the database name.
2. Right click on sharepoint database > Properties. If you get an error message saying insufficient rights, run the query below to set the owner
Use [SharePoint_Config_*********]
go
exec sp_changedbowner 'domain\administrator'
3. In properties > options, change database recovery model from full to simple.
4. Right click on the database and click on new query. paste the commands below and execute.
declare @ConfigDB varchar(255);
declare @ConfigDBLog varchar(255);
declare @ConfigDBCmd varchar(255);
select @ConfigDB = name from sys.databases where name like 'SharePoint_Config_%';
set @ConfigDBCmd = 'BACKUP database [' + RTRIM(@ConfigDB) + '] to disk=''C:\windows\temp\before.bkf''';
execute(@ConfigDBCmd);
set @ConfigDBCmd = 'use [' + RTRIM(@COnfigDB) + ']';
execute(@ConfigDBCmd);
set @ConfigDBCmd = 'BACKUP LOG [' + RTRIM(@ConfigDB) + '] WITH TRUNCATE_ONLY';
execute(@ConfigDBCmd);
set @ConfigDBCmd = 'use [' + RTRIM(@COnfigDB) + ']';
execute(@ConfigDBCmd);
select @ConfigDBLog = name from sys.database_files where name like 'SharePoint_Config%_log';
set @ConfigDBCmd = 'use [' + RTRIM(@ConfigDB) + '] DBCC SHRINKFILE([' + RTRIM(@ConfigDB) + '_log],1)';
execute(@ConfigDBCmd);
set @ConfigDBCmd = 'BACKUP database [' + RTRIM(@ConfigDB) + '] to disk=''C:\windows\temp\after.bkf''';
execute(@ConfigDBCmd);
go
Monday, May 30, 2011
Troubleshoot Outlook Out of Office (OOF) Issues
Run the following command in exchange management shell
Test-Outlookwebservices
http://clintboessen.blogspot.com/2009/06/autodiscover-issue-401-unauthorized.html
http://adventuresofanitpro.blogspot.com/2008/10/problem-with-autodiscover-on-exchange.html
Error:
Test-OutlookWebServices : Object reference not set to an instance of an object.
http://support.microsoft.com/kb/959209
Friday, May 27, 2011
Saturday, May 7, 2011
SBS 2003 Memory Optimisations (Limit SQL Memory)
Like Comunet on Facebook and you could win a $200 voucher!
Thursday, March 24, 2011
SBS on HyperV and BackupExec
I have been doing some research on running virtual SBS 2008/2011 Premium (SBS + SQL ) for small clients and still have backups to tape – Single server solution. SCSI tape device pass-through is known to cause a few issues on VMWare.
Traditionally you cannot install backup exec for SBS on a standard windows server. Symantec have fixed this issue starting with Backupexec 2010 R2 as long as you have SBS on a guest VM. You can install backupexec on the HyperV parent partition (Windows 2008 R2 Server) and configure backups to tape.
http://technet.microsoft.com/en-us/library/dd239200%28WS.10%29.aspx
http://www.symantec.com/business/support/index?page=content&id=TECH125965
Thursday, February 3, 2011
Install MSDE 2000
1. Download MSDE 2000 SP4 from Microsoft Downloads
2. Unpack and install using the command line
a. Setup.exe SAPWD=password DISABLENETWORKPROTOCOLS=0 SECURITYMODE=sql INSTANCENAME=SQL
b. Note: instance name is optional