Delete Local user profile folders on servers storefront

2:09 PM
Delete Local user profile folders on servers storefront -

How many of you might be aware of the Citrix Storefront authentication service provides an option for users to change their passwords when they expire. By default this option is disabled if the authentication service is created that will be modified by users to prevent their passwords if the passwords are expired.

If you decide to allow for Web cookies in Citrix Receiver, keep in mind that Storefront created to examine a local user profile, if a user's password is about to expire. Thus space on the local hard drive of the storefront server is required sufficient.

you. Documentation for more information on configuring the Storefront authentication service

to the space used by local profiles on the local hard drive of the storefront server to free, I have created a script to check the local profile folder, which can be used and to delete. , the script is the user profile parent folder and try to retrieve user profiles that are not in use to erase. In addition, you can specify custom user profile folders that should not be deleted

. Note: The Win32 class that I use to query the profile folder is not set to "All users touch", and "Standard", so you do not you will not need to specify within the account list of profiles to delete. Other profiles, such as the Administrator profile must be specified

Run to delete the script as a scheduled task, these local profiles periodically

Note: .. I'm a big fan of a central configuration. Therefore, I recommend the Group Policy using the clean-up to configure. To deploy the script to the storefront server, I pull Group Policy settings (GPP). This ensures that each server downloads the latest version of the script from a central share. The task scheduler is configured by GPP and to enable easy modification. Therefore, the script can be run as Local System Group Policy Settings for Scheduled Task management support, without specifying a password. Microsoft removed this feature for security.

You can find an example of how the GPP to configure in my blog staggered restarts for FMA Server OS VDAS covers.

The script can be downloaded.! here

Until next time

Robert Woelfer
Principal Consultant | Citrix Consulting Central and Eastern Europe

PS: the legal guys to meet ...
Disclaimer
This software / sample code is provided to you without representations, warranties or conditions of any kind "as is". You can use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES OF ANY KIND, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Without loss of generality, the foregoing, you acknowledge and agree that (a) the software / sample code, errors, design flaws or other problems occur, possibly leading to data loss or damage to Property; (B) it may not be possible to make the software / sample code fully functional; and (c) Citrix may, without notice or liability to you, no longer available to make the current version and / or future versions of the software / sample code. In no case the software / code to support ultra-hazardous activities should be used, including, but not support for life or explosives limited activities.
NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS BE LIABLE FOR DAMAGES RESULTING FROM THE USE OF THE SOFTWARE / SAMPLE CODE, INCLUDING DIRECT, SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES, WHETHER UNDER CONTRACT, OR ANOTHER LIABILITY WHEN THE POSSIBILITY OF sUCH dAMAGES.
Although the copyright in the software / code belongs Citrix, any distribution of the code should only your own standard of the holders of rights, and not that of Citrix. You agree Citrix against any claims arising from the use, modification ora distribution of the code.

Chromebook Banner 1

arise, hold harmless and defend,
Previous
Next Post »
0 Komentar