Sydney Cloud and Mobility Consultants
Menu
  • Home
  • Our Services
    • Services
      • Remote Access Solutions for your Staff
      • Cloud Readiness Assessment
      • WorkSpace Consulting
      • Enterprise Mobility and MDM
      • Cloud Migration
      • DevOps Support
      • Citrix Technology Services
    • Engaging with Peninsula IT
  • Our Specialties
  • Technical Blog
  • Customer Login
  • Company
    • Cloud and Mobility Newsletter
    • About Us
    • Contact
    • Careers

Set registry key permissions by command line

February 25, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

Here is an example of setting registry key permissions by command line. The original version of subinacl.exe shipped with the old Windows Resource Kit was buggy, and would not run command line arguments. A better, non buggy version can…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Commandline, Microsoft, Registry, Terminal Server, Windows

Quick commandline to get AD group membership

February 25, 2016
| No Comments
| Categories: Microsoft, Technical Blog

This line is handy for quickly exporting an Active Directory groups membership list to a text file.  Open the file as delimited in excel to make deciphering the LDAP a bit easier.

dsquery group -samid <groupname> | dsget group -members…

Read More »
Posted in Microsoft, Technical Blog Tagged AD, Commandline, Group Membership, Scripting

Obtain lines before and after a matched GREP pattern

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

Simple, but handy when scripting with GREP:  How to grab the trailing 2 lines after a specified pattern.

In this example, the pattern is “q4:Policy” from a GPO settings HTML file.
grep -A 2 “q4:Policy” c:\temp\gpo.html

Changing -A to -B will grab…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged GPO, Grep, Packaging, Scripting

Moving the TS Licencing Server

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

Moving the terminal server licencing server can be a bit of an exercise. If you follow these steps, chances are you won’t need to do anything else to move the TS Licencing server.

Original TS Licence server:
1) Stop the Terminal…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Citrix, Licencing, Microsoft, RDS

Strange mapped drive errors when installing an msi

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

I’ve found this problem when installing various older msi’s designed for older operating systems like Windows 2000/2003 or earlier.

Problem:
a) You execute the msi and you get an error stating that a mapped drive (eg, Z:) cannot be found
or
b) An…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Installer, Mapped Drive Error, MSI

LogoffCheckSysModules for clean session shutdown of Citrix published apps

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

When you close the primary executable of a published Citrix XenApp application, the session may not end due to secondary processes still running from the app.  This leads to loads of timed out sessions that just waste resources.

To force…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Citrix, Logoff, RDS

How to delete hiberfil.sys

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

Getting rid of hiberfil.sys in Windows 7 and Windows Server 2008 r2 is much harder than your would expect. This file appears on the server even if you have no plans to use hibernation, and it wastes disk space,…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Citrix, RDS, VDI, Windows

How to check if an RDP session is on the console

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

It seems like a simple question, but how do you know if your RDP session is on the console?

Answer – type this from a command prompt:  Qwinsta

If your session appears as ID 0, you are on the console

This is…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Citrix, Console, RDP

Finding the right user SID in a terminal server registry

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft, Technical Blog

There are a few ways of finding the corresponding SID for your desired user in the registry.  A simple way is to use the following syntax using the free tool Psgetsid.exe. Very handy when trying to interrogate the crowded…

Read More »
Posted in Citrix, Microsoft, Technical Blog Tagged Citrix, RDP, SID, Terminal Server

Registering multiple dlls in a directory tree

February 23, 2016
| No Comments
| Categories: Citrix, Microsoft

Here is the syntax of a handy for-loop when you need to register multiple ocx and dll files in a directory tree when packaging:

FOR /R “”folder name”” %a IN (*.OCX) DO regsvr32 /S “”%a”””

Read More »
Posted in Citrix, Microsoft Tagged file registration, Packaging
  • 1of 2
  • 1
  • 2
  • Next »

Search

RSS

  • RSS Feed – Peninsula IT Services Blog

Phone: 02 8091 2324    Email: [email protected]

Search

About Us

Peninsula IT Services. Technical Support, Cloud and Mobility Services for Business. Based in the Sydney CBD and Northern Beaches, we deliver IT projects across Australia. Call us on 02 8091 2324

Recent Posts

Remote Access Services in Sydney

At Peninsula IT we are fielding many calls from…

Avanite CTO Live Webinar: Accelerating Windows Logins

Avanite Webinar: Listen to…

Client's Testimonials

Stephen worked as a consultant for one of my large clients. The client was very happy with the work done and I have no hesitation in recommending Stephen - Al Tonner
  • Disclaimer
  • Cloud and Mobility Newsletter
2019 Peninsula IT. All rights reserved.

About us / Privacy Policy