Innlegg

Viser innlegg fra 2016

Microsoft Office 64-bit Components 2013 poping up when starting Outlook

Bilde
Got this Message popping up when starting Outlook. Traced it on the Server as an setup.msi that starts every time. No to the fun part. Enable Feature Windows Seach Host  - and it is gone. Looking at the trace now, it shows that startup of Outlook is using the WindowsSearchHost to enumerate keys and files and doing it a lot faster, too.

MS Access has stopped working

Bilde
I just installed MS Access full version and wanted to publish some Access database with the /runtime switch on. Unfortunaly MS Access 2013 crashed every time the /runtime switch was on. After some time of troubleshooting, I traced the error to the mso.dll module and then some Google Search gave be this fix: http://support.microsoft.com/kb/2767861

Citrix Studio, ERROR on Add Applications from Start Menu

Bilde
When trying to Add Applications from Start Menu, you are not able to retrieve any Items Check File Rights on the Administrator Tools Folder on you Image, located in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools" Now - Right Click, Properties, Security, Advanced -> Enable inheritance Back in Studio, the list now resolves

"Word could not create the work file" error message when you save a document in Microsoft Word

Bilde
Change (in GPO Preference) Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders from Cache=%USERPROFILE%\AppData\Local\Microsoft\Windows\INetCache to Cache=%USERPROFILE%\AppData\Local\Microsoft\Windows\Temporary Internet Files

Is it possible to remove OneDrive 'Save As' Option in O365?

Bilde
 Yes, One way is to use the following settings in your O365 GPO: 

Is it possible to remove all the default Sharepoint 'Save As' Options in O365?

Yes it is. One way is to enumerate the Registry-keys that is used for Sharepoint for the user and set them to NotConnected and NoCapabilities. This VBScript does the trix. 'On Error Resume Next '========================================================= 'Remove any SHAREPOINT "Save As" Default Options in Office 'If it works, created by: 'Created by Tom Jorgensen 'If it do not work, I donno who wrote this '18:23 09.11.2016 '========================================================= Const HKEY_CURRENT_USER = &H80000001 strKeyPath = "Software\Microsoft\Office\16.0\Common\ServicesManagerCache\Identities" Set objShell = CreateObject("WScript.Shell") Set reg = GetObject("winmgmts://./root/default:StdRegProv") EnumerateKeys HKEY_CURRENT_USER, strKeyPath Sub EnumerateKeys(hive, key)   reg.EnumKey hive, key, arrSubKeys   If Not IsNull(arrSubKeys) Then     For Each subkey In arrSubKeys       If InStr(s

How to Downgrade Windows Server 2012 R2 Datacenter to Windows Server 2012 R2 Standard?

Setup can only upgrade, not downgrade, so how is it possible? 1. Edit the registry to fool the Windows Setup to believe we are running on Windows Server 2012 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion EditionID=ServerStandard ProductName=Windows Server 2012 Standard 2. Run Setup, and you get the option to 'upgrade' to: Windows Server 2012 R2 Standard (Core) Windows Server 2012 R2 Standard(GUI) Windows Server 2012 R2 Datacenter (Core) Windows Server 2012 R2 datacenter (GUI) 3. Activate with Windows Server 2012 R2 Standard key slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

IBM iSeries Navigator på Windows 2012R2 og XenApp 7.9

IBM Source og ServicePack: ftp://public.dhe.ibm.com/as400/products/clientaccess/win32/v6r1m0/ Her henter du orginal installasjonspakke samt servicepakker som 'pakkes opp' og overskriver orginal installasjonspakke #1 Install Visual C++ 32 bit #2 Install Visual C++ 64 bit #3 Lag denne nøkkelen HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI Enable=0 #4 "<install>\setup.exe" #5 Installer til feks: C:\Apps\IBM\Client Access\ #6 Primærspråk: MRI2924 - Engelsk #7 Complete (full pakke) #8 Slett nøkkel: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI Enable=0 #9 OBS: Reparer .NET 4.5.x (IBM installasjonen klusser til rettighetene her) #10 Reboot Etter omstart, sett opp tilkobling til iSeries-maskin, feks: M3001.ws M3002.ws Disse kan legges inn hos brukeren under: "H:\Application Data\IBM\Client Access\Emulator\private\" Snarveier: IBM

List all installed KB

Bilde
​ wmic qfe list brief /format:texttablewsys > "%USERPROFILE%\ hotfix.txt "

Manual Update and patching on Citrix Image for OS and Standard Applications

Checklist for manual update on Citrix servers 1. Acrobat Reader Download patch from ftp://ftp.adobe.com/pub/adobe/reader/win/ 2. Java Control Panel - type Java to find Java Control panel - Update now Alternative: http://java.com/update Do NOT accept to install any offer from the installer - only Java (It should be possible to set "Supress sponsor offers..." in the Advance tab) Note - if the customer has a published Java Control Applet - adjust the path to this application to the new version Make sure settings are set NOT to automatic update Java 3. Flash Open IE https://get.adobe.com/flashplayer Do NOT accept any other options like Chrome or Google Toolbar Set automatic updates to NEVER Check 4. Chrome If installed, run Chrome - Help - About - and update from here 5. Firefox If installed, update from Help - About Note - if disabled, you will have to edit file mozilla.cfg -> and comment (//) these lines: // lockPref("app.update.auto", fa

SQL Tweaking Tips

​1. Maximum degree of parallelism should be set to half of the number of CPU's 2. Cost threshold for parallelism is default 5, but should be more in the area of 50 3. Check that you have set effective Schedule indexing jobs 4. Tempdb It is recommended to have the same number of tempdb files as CPU's, set to same size initial size 256 MB File grow should be set to 256MB, not 10% One way of changing this is: First, make sure tempdb is on in this example the F: drive USE master ; GO ALTER DATABASE tempdb MODIFY FILE (NAME = tempdev , FILENAME = ' F: \SQLData\tempdb.mdf'); GO ALTER DATABASE tempdb MODIFY FILE (NAME = templog , FILENAME = ' F: \SQLData\templog.ldf'); GO Then make sure to shrink file and set to 256 MB: USE tempdb GO DBCC SHRINKFILE ( tempdev , EMPTYFILE); GO 5. Database Autogrowth Change from 10% to 512 MB 6. If SQL Report Server is not beeing used, it can be deinstalled – to save some Resources 7.

Speed Up Shut Down

​Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoLowDiskSpaceChecks"=dword:00000001 "LinkResolveIgnoreLinkInfo"=dword:00000001 "NoResolveSearch"=dword:00000001 "NoResolveTrack"=dword:00000001 "NoInternetOpenWith"=dword:00000001 [HKEY_CURRENT_USER\Control Panel\Desktop] "AutoEndTasks"="1" "HungAppTimeout"="1000" "MenuShowDelay"="0" "WaitToKillAppTimeout"="2000" "LowLevelHooksTimeout"="1000" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] "WaitToKillServiceTimeout"="1000" NoLowDiskSpaceChecks = Low Disk Notification deactivated LinkResolveIgnoreLinkInfo = Determines whether Windows traces shortcuts back to their sources when it cannot find the target on the user's system. NoResolveSearch = Prevents the system from conducting a

That Long and Winding Oracle 32/64 bit Road

Bilde
Install the 32-bit ODAC Component (I did not install the 64-bit version of the ODAC, only the 32-bit Version)   Install the FULL Oracle11 Clients for BOTH 32 and 64 bit My tip: Install these to two separate ORACLE_HOME (OraClient11g_home1 and OraClient11g_home2) and put them in an easy identified folders like: 32-bit: C:\Oracle\product\11.2.0\client_32\ 64-bit: C:\Oracle\product\11.2.0\client_64\   Make sure the tnsnames.ora are updated in BOTH places: C:\Oracle\product\11.2.0\client_32\Network\Admin\ C:\Oracle\product\11.2.0\client_64\Network\Admin\   Edit Registry keys to make sure these all points to the correct Oracle (and not Microsoft) dll’s in C:\Windows\System32 HKLM\SOFTWARE\Microsoft\MSDTC\MTxOCI + HKLM\SOFTWARE\Wow6432Node\Microsoft\MSDTC\MTxOCI OracleSqlLib – from SQLLib80.dll to orasql11.dll                   (32-bit file copied from 32-bit client) OracleXaLib – from xa80.dll to oraclient11.dll                       

Microsoft TechNet Virtual Conference 2016

https://channel9.msdn.com/Events/TechNetVirtualConference/TechNetVC2016 I would recommend these two to start with: Day 2: Keynote and Q&A https://channel9.msdn.com/Events/TechNetVirtualConference/TechNetVC2016/Day-2-Keynote-and-QA Rob Lefferts and Brad McCabe team up to Keynote Day 2 of TechNet Virtual Conference. During this session you'll learn about amazing new Windows 10 technology that will help protect your organization and make your people even more productive. You'll learn about some of the key components of Windows 10 that will help with your managing your organization. Day 3: Azure Fundamentals with Q&A https://channel9.msdn.com/Events/TechNetVirtualConference/TechNetVC2016/Day-3-Azure-Fundamentals-with-QA Are you new to Microsoft Azure? If you're an experienced IT Pro and you want to know more about Microsoft Azure, this session with Rick Claus will help get you up to speed on the fundamental elements of the Microsoft Cloud Infrastructure pla

GPO Planning

Group Policy Planning http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/ http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/

AD presentasjoner

​Her er noen interessante Carl Webster AD-presentasjoner for de som vil lære litt mer om Active Directory ===================================================================================== Be a Hero! More Best Practices for Wildly Successful AD Projects Synergy 2013 Los Angeles AD Presentation https://dl.dropboxusercontent.com/u/43555945/Synergy%202013%20Los%20Angeles%20AD%20Presentation.pdf More things in AD that can hurt your Application and Desktop Virtualization efforts and how to fix them BriForum 2013 Chicago Presentation https://dl.dropboxusercontent.com/u/43555945/Briforum%202013%20Chicago%20AD%20Presentation.pdf More things about AD you should know E2E 2013 Copenhagen AD Presentation https://dl.dropboxusercontent.com/u/43555945/E2E%202013%20Copenhagen%20AD%20Presentation.pdf More things in AD that can hurt your Application and Desktop Virtualization efforts and how to fix them BriForum 2013 London Presentation https://dl.dropboxusercontent.com/u/43555945/Briforum%202

Citrix user sessions are held open by ccSvcHst.exe during log off

DWORD 32 bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\AdministratorOnly\General\ CloseUserLogFile=1 64 bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\[Wow6432Node\]Symantec\Symantec Endpoint Protection\AV\AdministratorOnly\General\ CloseUserLogFile=1 ​ Ref: https://support.symantec.com/en_US/article.TECH210170.html

Citrix XenApp 7.7 Automatic Site Upgrade fails

Error Id: XDDS:A301BE1B Fix: On *all* Controllers, run powershell: asnp citrix* Get-ConfigRegisteredServiceInstance -ServiceType "Broker" | Unregister-ConfigRegisteredServiceInstance Get-BrokerServiceInstance | Register-ConfigServiceInstance Re-run Automatic Site Upgrade from Studio After upgrade, in Studuio re-select the Licensing, to reconnect to the Licenses Server again