diff --git a/ProcComs/ProcComs.vcxproj b/ProcComs/ProcComs.vcxproj
index 50503e3..d228517 100644
--- a/ProcComs/ProcComs.vcxproj
+++ b/ProcComs/ProcComs.vcxproj
@@ -27,7 +27,7 @@
Application
false
MultiByte
- Windows7.1SDK
+ v100
@@ -79,6 +79,7 @@
.\Release/ProcComs.pdb
Console
MachineX86
+ /MT %(AdditionalOptions)
.\Release/ProcComs.tlb
@@ -154,4 +155,4 @@
-
+
\ No newline at end of file
diff --git a/RemCom.cpp b/RemCom.cpp
index 523f8e0..887907a 100644
--- a/RemCom.cpp
+++ b/RemCom.cpp
@@ -671,7 +671,7 @@ BOOL CopyServiceToRemoteMachine()
TCHAR szSvcExePath[_MAX_PATH];
- _stprintf( szSvcExePath, _T("%s\\ADMIN$\\System32\\%s"), lpszMachine, RemComSVCEXE );
+ _stprintf( szSvcExePath, _T("%s\\ADMIN$\\%s"), lpszMachine, RemComSVCEXE );
// Copy binary file from resources to \\remote\ADMIN$\System32
HANDLE hFileSvcExecutable = CreateFile(
@@ -712,7 +712,7 @@ BOOL InstallAndStartRemoteService()
SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS,
SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL,
- _T("%SystemRoot%\\system32\\")RemComSVCEXE,
+ _T("%SystemRoot%\\")RemComSVCEXE,
NULL, NULL, NULL, NULL, NULL );
if (hService == NULL)
@@ -1143,7 +1143,7 @@ void ShowUsage()
Out( _T(" /pwd:[password|*]\tPassword. * will delay the input (if required)\n") );
Out( _T("\n") );
Out( _T(" /d:directory\t\tSet working directory\n") );
- Out( _T("\t\t\t(Default: \\\\RemoteSystem\"%SystemRoot%\\System32\")\n\n") );
+ Out( _T("\t\t\t(Default: \\\\RemoteSystem\"%SystemRoot%\")\n\n") );
Out( _T(" [/idle | /normal | /high | /realtime]\tPriority class (use only one)\n") );
Out( _T(" /nowait\t\tDon't wait for remote process to terminate\n") );
Out( _T("\n") );
@@ -1388,7 +1388,7 @@ BOOL StartProcessWithUserLogon()
LOGON_WITH_PROFILE,
NULL,
(LPWSTR) lpszCommandExe,
- CREATE_UNICODE_ENVIRONMENT, /*lpvEnv*/ NULL, (LPCWSTR) "%SYSTEMROOT%\\system32",
+ CREATE_UNICODE_ENVIRONMENT, /*lpvEnv*/ NULL, (LPCWSTR) "%SYSTEMROOT%",
&si,
&pi
);
diff --git a/RemCom.vcxproj b/RemCom.vcxproj
index d48b88f..b3fc838 100644
--- a/RemCom.vcxproj
+++ b/RemCom.vcxproj
@@ -27,7 +27,7 @@
Application
false
MultiByte
- Windows7.1SDK
+ v100
@@ -61,7 +61,7 @@
Size
NDEBUG;WIN32;_WINDOWS;%(PreprocessorDefinitions)
true
- MultiThreadedDLL
+ MultiThreaded
true
.\Release/RemCom.pch
.\Release/
@@ -80,6 +80,7 @@
.\Release/RemCom.pdb
Console
MachineX86
+ /MT %(AdditionalOptions)
NDEBUG;%(PreprocessorDefinitions)
@@ -94,6 +95,9 @@
NDEBUG;%(PreprocessorDefinitions)
0x0409
+
+ true
+
@@ -163,4 +167,4 @@
-
+
\ No newline at end of file
diff --git a/RemComSvc/RemComSvc.vcxproj b/RemComSvc/RemComSvc.vcxproj
index e2b8587..eed4c14 100644
--- a/RemComSvc/RemComSvc.vcxproj
+++ b/RemComSvc/RemComSvc.vcxproj
@@ -27,7 +27,7 @@
Application
false
MultiByte
- Windows7.1SDK
+ v100
@@ -60,7 +60,7 @@
OnlyExplicitInline
WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
true
- MultiThreadedDLL
+ MultiThreaded
true
@@ -77,6 +77,7 @@
.\Release/RemComSvc.pdb
Console
MachineX86
+ /MT %(AdditionalOptions)
.\Release/RemComSvc.tlb
@@ -144,4 +145,4 @@
-
+
\ No newline at end of file
diff --git a/bin/Debug/RemCom.exe b/bin/Debug/RemCom.exe
deleted file mode 100644
index 817891e..0000000
Binary files a/bin/Debug/RemCom.exe and /dev/null differ
diff --git a/bin/Release/RemCom.exe b/bin/Release/RemCom.exe
deleted file mode 100644
index dd02281..0000000
Binary files a/bin/Release/RemCom.exe and /dev/null differ