56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
|
//Copyright (c) 1998 - 1999 Microsoft Corporation
|
||
|
#ifdef NOMINMAX
|
||
|
#undef NOMINMAX
|
||
|
#endif
|
||
|
|
||
|
#include <winver.h>
|
||
|
#include <ntverp.h>
|
||
|
#include "wfprof.h"
|
||
|
|
||
|
#define VER_FILETYPE VFT_APP
|
||
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
|
#define VER_FILEDESCRIPTION_STR "Terminal Services Profile Utility"
|
||
|
#define VER_INTERNALNAME_STR "tsprof"
|
||
|
#define VER_ORIGINALFILENAME_STR "tsprof.exe"
|
||
|
|
||
|
#include <verall.h>
|
||
|
#include "common.ver"
|
||
|
|
||
|
|
||
|
STRINGTABLE
|
||
|
BEGIN
|
||
|
IDS_ERROR_INVALID_PARAMETERS
|
||
|
L"Invalid parameter(s)\n"
|
||
|
IDS_ERROR_GET_DC
|
||
|
L"Failed getting Domain Controller, Error = %u (0x%x)\n"
|
||
|
IDS_ERROR_GET_USER_CONFIG
|
||
|
L"Failed getting User Configuration, Error = %u (0x%x)\n"
|
||
|
IDS_ERROR_SET_USER_CONFIG
|
||
|
L"Failed setting User Configuration, Error = %u (0x%x)\n"
|
||
|
IDS_ERROR_MALLOC
|
||
|
L"Error allocating memory\n"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE
|
||
|
BEGIN
|
||
|
IDS_USAGE1
|
||
|
L"TSPROF /UPDATE [/DOMAIN:domainname|/LOCAL] /PROFILE:<path> username\n"
|
||
|
IDS_USAGE2
|
||
|
L"TSPROF /COPY [/DOMAIN:domainname|/LOCAL] [/PROFILE:<path>] src_usr dest_usr\n"
|
||
|
IDS_USAGE3
|
||
|
L"TSPROF /Q [/DOMAIN:domainname|/LOCAL] username\n"
|
||
|
|
||
|
IDS_QUERY3 L"Terminal Services Profile Path for %1\\%2 is { %3 }"
|
||
|
/*
|
||
|
IDS_QUERY1
|
||
|
L"Terminal Services Profile Path for %s"
|
||
|
IDS_QUERY2
|
||
|
L"\\%s"
|
||
|
IDS_QUERY3
|
||
|
L" is {%s}\n"
|
||
|
*/
|
||
|
|
||
|
IDS_ERROR_NOT_TS
|
||
|
L"This utility needs Terminal Services to be running.\n"
|
||
|
END
|