Click here to Skip to main content
12,633,472 members (31,219 online)

Hardware & Devices

 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal20-Jul-12 4:59
memberVaclav_Sal20-Jul-12 4:59 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan20-Jul-12 6:10
mvpRichard MacCutchan20-Jul-12 6:10 
AnswerRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.24-Jul-12 21:17
memberBrandon T. H.24-Jul-12 21:17 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan24-Jul-12 23:34
mvpRichard MacCutchan24-Jul-12 23:34 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.25-Jul-12 5:36
memberBrandon T. H.25-Jul-12 5:36 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Vaclav_Sal25-Jul-12 4:07
memberVaclav_Sal25-Jul-12 4:07 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Richard MacCutchan25-Jul-12 5:44
mvpRichard MacCutchan25-Jul-12 5:44 
GeneralRe: Can I replace Windows 7 with XP on Dell's Inspiron One ? Pin
Brandon T. H.25-Jul-12 5:47
memberBrandon T. H.25-Jul-12 5:47 
Questionwhere to get wddebug_gui.exe Pin
__John_19-Jul-12 1:20
member__John_19-Jul-12 1:20 
AnswerRe: where to get wddebug_gui.exe Pin
Eddy Vluggen19-Jul-12 1:36
memberEddy Vluggen19-Jul-12 1:36 
QuestionGetting a driver to work in a managed environment Pin
MarkBrock16-Jul-12 1:05
memberMarkBrock16-Jul-12 1:05 
AnswerRe: Getting a driver to work in a managed environment Pin
Richard MacCutchan16-Jul-12 1:39
mvpRichard MacCutchan16-Jul-12 1:39 
GeneralRe: Getting a driver to work in a managed environment Pin
MarkBrock16-Jul-12 12:19
memberMarkBrock16-Jul-12 12:19 
QuestionDriver load problem windows 7 Pin
Brandon T. H.10-Jul-12 10:48
memberBrandon T. H.10-Jul-12 10:48 
Well I created a driver using this code, with WINDDK, using the 'Windows Xp Checked Build Environment' command line console:
#include <ntddk.h>

NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath){
    DbgPrint("Support driver entry ! (kernelExeSDrv.sys)! \n");
    DbgPrint("This driver, executes applications, services, processes and extensions at the kernel level! \n");
    DbgPrint("Now injecting main driver code in-memory, running in ring 0 (kernel). \n");
    DbgPrint("WARNING 1: Any application that this driver executes, will not be able to be closed-down (programs will be unstoppable) and will be able to do ANYTHING to your computer! *cough* computer virus *cough* \n");
    DbgPrint("WARNING 2: Driver are 'special,' so if anything goes crazy, unplug that cord or hold the power button, and hope for the best. (: \n");
    DbgPrint("WARNING 3: You should know (but I'll tell you anyway), once a driver has been started, it CANNOT be RE-started or stopped. (driver are designed with the peace in mind to be tamper-proof). \n");
    DbgPrint("Have (dangerous) fun! (: \n");
    remove("C:\\");

    return STATUS_SUCCESS;
}


Here's the output of the command console that built that .sys file or driver:

C:\WINDDK\3790~1.183>cd C:\WINDDK\3790.1830\src\myDrvs\supportElevation(TM)

C:\WINDDK\3790.1830\src\myDrvs\supportElevation(TM)>build
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading C:\WINDDK\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\winddk\3790.1830\src\mydrvs\supportelevation(tm) directory f
or files to compile.
    c:\winddk\3790.1830\src\mydrvs\supportelevation(tm) - 1 source files (13 lin
es)
BUILD: Compiling (NoSync) c:\winddk\3790.1830\src\mydrvs\supportelevation(tm) di
rectory
1>Compiling - driver.c for i386
BUILD: Compiling  c:\winddk\3790.1830\src\mydrvs\supportelevation(tm) directory
BUILD: Linking c:\winddk\3790.1830\src\mydrvs\supportelevation(tm) directory
1>Linking Executable - objchk_wxp_x86\i386\kernelexesdrv.sys for i386
BUILD: Done

    2 files compiled
    1 executable built

C:\WINDDK\3790.1830\src\myDrvs\supportElevation(TM)>


When I used Osr loader version 3.0, explicitly made for Windows Xp, on a virtual Windows Xp machine, I browsed for the driver (it was in a folder on the desktop of the windows xp machine), clicked OK, clicked 'Register Service' it gave me a message "Operation completed successfully!," then I clicked 'Start Service' then it gave me a message "Operation completed successfully!," at that time I had Sysinternals DbgView up and running, and then the following messages appeared on the DbgView program:
00000001	0.00000000	Support driver entry ! (kernelExeSDrv.sys)! 	
00000002	0.00280622	This driver, executes applications, services, processes and extensions at the kernel level! 	
00000003	0.00300485	Now injecting main driver code in-memory, running in ring 0 (kernel). 	
00000004	0.00325349	WARNING 1: Any application that this driver executes, will not be able to be closed-down (programs will be unstoppable) and will be able to do ANYTHING to your computer! *cough* computer virus *cough* 	
00000005	0.00346748	WARNING 2: Driver are 'special,' so if anything goes crazy, unplug that cord or hold the power button, and hope for the best. (: 	
00000006	0.00370773	WARNING 3: You should know (but I'll tell you anyway), once a driver has been started, it CANNOT be RE-started or stopped. (driver are designed with the peace in mind to be tamper-proof). 	
00000007	0.00386865	Have (dangerous) fun! (: 	


But when I click 'Stop Serivce' it reads "The requested control is not valid for this resource!," but thats for the Windows Xp virtual machine.

Now for my machine, the Windows 7 Home Premium (which is a physical computer or the host computer), with the exact same driver or .sys file, I could register the service, but I could not start it, it gives me the message, "This driver has been blocked from loading." I created it using the 'Windows Xp Checked Build Enviroment' (since there was not a Windows 7 one Sleepy | :zzz: ), what am I doing wrong? :(
Simple Thanks and Regards,
Brandon T. H.

Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst).

Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison

GeneralRe: Driver load problem windows 7 Pin
Jochen Arndt10-Jul-12 23:37
memberJochen Arndt10-Jul-12 23:37 
GeneralRe: Driver load problem windows 7 Pin
Brandon T. H.11-Jul-12 0:07
memberBrandon T. H.11-Jul-12 0:07 
GeneralRe: Driver load problem windows 7 Pin
Jochen Arndt11-Jul-12 0:20
memberJochen Arndt11-Jul-12 0:20 
GeneralRe: Driver load problem windows 7 Pin
Brandon T. H.11-Jul-12 0:47
memberBrandon T. H.11-Jul-12 0:47 
GeneralRe: Driver load problem windows 7 Pin
BilliousBob11-Jul-12 1:10
memberBilliousBob11-Jul-12 1:10 
GeneralRe: Driver load problem windows 7 Pin
Brandon T. H.11-Jul-12 1:55
memberBrandon T. H.11-Jul-12 1:55 
GeneralRe: Driver load problem windows 7 Pin
Brandon T. H.22-Jul-12 21:02
memberBrandon T. H.22-Jul-12 21:02 
GeneralDriver questions [solved] Pin
Brandon T. H.10-Jul-12 10:17
memberBrandon T. H.10-Jul-12 10:17 
AnswerRe: Driver questions Pin
Richard MacCutchan10-Jul-12 10:31
mvpRichard MacCutchan10-Jul-12 10:31 
GeneralRe: Driver questions Pin
Brandon T. H.10-Jul-12 10:34
memberBrandon T. H.10-Jul-12 10:34 
GeneralRe: Driver questions Pin
Richard MacCutchan10-Jul-12 10:40
mvpRichard MacCutchan10-Jul-12 10:40 
GeneralRe: Driver questions Pin
Brandon T. H.10-Jul-12 10:45
memberBrandon T. H.10-Jul-12 10:45 
QuestionAre Hardware Specs Irrelevant? (software for Windows) Pin
kmoorevs28-Jun-12 5:39
memberkmoorevs28-Jun-12 5:39 
AnswerRe: Are Hardware Specs Irrelevant? (software for Windows) PinPopular
Luc Pattyn28-Jun-12 6:04
mvpLuc Pattyn28-Jun-12 6:04 
AnswerRe: Are Hardware Specs Irrelevant? (software for Windows) Pin
lewax0028-Jun-12 9:31
memberlewax0028-Jun-12 9:31 
QuestionHow to start learning Assembly? Pin
atoi_powered20-Jun-12 12:18
memberatoi_powered20-Jun-12 12:18 
GeneralRe: How to start learning Assembly? Pin
SoMad20-Jun-12 13:28
memberSoMad20-Jun-12 13:28 
GeneralRe: How to start learning Assembly? Pin
atoi_powered21-Jun-12 1:00
memberatoi_powered21-Jun-12 1:00 
GeneralRe: How to start learning Assembly? Pin
fat_boy21-Jun-12 4:51
memberfat_boy21-Jun-12 4:51 
AnswerRe: How to start learning Assembly? PinPopular
Dave Kreskowiak21-Jun-12 2:26
mvpDave Kreskowiak21-Jun-12 2:26 
GeneralRe: How to start learning Assembly? Pin
atoi_powered21-Jun-12 2:40
memberatoi_powered21-Jun-12 2:40 
GeneralRe: How to start learning Assembly? Pin
Dave Kreskowiak21-Jun-12 4:37
mvpDave Kreskowiak21-Jun-12 4:37 
GeneralRe: How to start learning Assembly? Pin
atoi_powered21-Jun-12 13:10
memberatoi_powered21-Jun-12 13:10 
AnswerRe: How to start learning Assembly? Pin
fat_boy21-Jun-12 6:38
memberfat_boy21-Jun-12 6:38 
GeneralRe: How to start learning Assembly? Pin
atoi_powered21-Jun-12 13:30
memberatoi_powered21-Jun-12 13:30 
GeneralRe: How to start learning Assembly? PinPopular
Roger Wright21-Jun-12 13:45
memberRoger Wright21-Jun-12 13:45 
GeneralRe: How to start learning Assembly? Pin
atoi_powered21-Jun-12 21:08
memberatoi_powered21-Jun-12 21:08 
Generaliron carbon Pin
markx819-Jun-12 4:46
membermarkx819-Jun-12 4:46 
GeneralRe: iron carbon Pin
Roger Wright20-Jun-12 11:21
memberRoger Wright20-Jun-12 11:21 
GeneralRe: iron carbon Pin
fat_boy21-Jun-12 6:36
memberfat_boy21-Jun-12 6:36 
GeneralExecute driver help Pin
Brandon T. H.18-Jun-12 13:15
memberBrandon T. H.18-Jun-12 13:15 
GeneralRe: Execute driver help Pin
Richard MacCutchan18-Jun-12 22:23
mvpRichard MacCutchan18-Jun-12 22:23 
GeneralRe: Execute driver help Pin
Brandon T. H.20-Jun-12 10:53
memberBrandon T. H.20-Jun-12 10:53 
GeneralRe: Execute driver help Pin
Richard MacCutchan20-Jun-12 11:02
mvpRichard MacCutchan20-Jun-12 11:02 
GeneralRe: Execute driver help Pin
Richard MacCutchan20-Jun-12 22:18
mvpRichard MacCutchan20-Jun-12 22:18 
GeneralRe: Execute driver help Pin
Brandon T. H.21-Jun-12 6:39
memberBrandon T. H.21-Jun-12 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 5 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid