//Copyright (c) 1998 - 1999 Microsoft Corporation #ifdef NOMINMAX #undef NOMINMAX #endif #include #include #define VER_FILETYPE VFT_APP #define VER_FILESUBTYPE VFT2_UNKNOWN #define VER_FILEDESCRIPTION_STR "Convert Terminal Server User Configuration" #define VER_INTERNALNAME_STR "cnvrtuc.exe" #define VER_ORIGINALFILENAME_STR "cnvrtuc.exe" #include #include #include "resource.h" STRINGTABLE BEGIN IDS_ERR_GET_PDC "Unable to obtain PDC server name for Domain '%ws' - error %u'.\n" IDS_ERR_CONNECT_REG "RegConnectRegistry failed - error number %u.\n" IDS_ERR_OPEN_KEY "RegOpenKeyEx failed - error number %u.\n" IDS_ERR_ENUM_KEY "RegEnumKey failed - error number %u.\n" IDS_CONVERTING "Converting %ws..." IDS_ERR_QUERY_CONFIG " failed - error number %u\n" IDS_ERR_SET_CONFIG " failed setting configuration - error number %u.\n" IDS_COMPLETE " complete.\n" IDS_ERR_QUERY_CONFIG2 " failed querying configuration - error number %u.\n" IDS_ERR_USER_NOT_FOUND "User %ws not found.\n" IDS_NEWLINE "\n" IDS_USAGE1 "%s - Convert Terminal Server User Configuration\n" IDS_USAGE2 "usage: %s [/ALL | /USER u] /DOMAIN d\n" IDS_USAGE3 " Where options are:\n" IDS_USAGE4 " /ALL - Convert all registry-based user configurations\n" IDS_USAGE5 " /USER u - Convert registry-based user configuration for user 'u'\n" IDS_USAGE6 " /DOMAIN d - Convert user configuration in Domain 'd'\n" IDS_USAGE7 "\nIf no options are specified, this message is displayed.\n" IDS_USAGE8 "This utility migrates non-replicated Registry-based user\n" IDS_USAGE9 "configuration entries to the replicated SAM database.\n" END