Jump to content

Recommended Posts

Posted

Hi there,

 

Just thinking out loud.

 

When building the images for our new netbooks with integrated webcams, we enabled the webcams (installed the driver for it). Is there anyway we can remove these drivers en mass via a script or disable the "Webcam" icon in my computer?

 

Cheers,

Richard

Posted
You could just disable the webcam in device manager....

 

Yes, I know that ... but I want to do it on mass. Sorry , didnt think I made that clear! :D

Posted

Ok ... so after a bit of investigation I managed to do it (yippee!) and this is how I did it.

 

1. Found an MS utlity called devcon (The DevCon command-line utility functions as an alternative to Device Manager)

2. Downloaded it and extracted it.

3. Put it on the server

4. Went to one of the laptops and found the hardware id

5. Put the below in a batch script (you have to copy devcon to the workstation - done it in the script) and did it on computer startup ... and it worked!

 

If exist "C:\WINDOWS\Devcon.exe" goto Fin
xcopy \\flitwick\its$\DeviceDisable\devcon.exe "c:\WINDOWS" /Y
devcon disable *MI_00
::Fin

That way, it copies devcon, then does "devcon disable" (with *MI_00 - which means it will disable anything with MI_00 at the end). Then, when the script runs at the next startup, it will know devcon is in the directory and will goto ::Fin - which means it wont try running the script again.

 

Hope it helps someone :)

  • Thanks 1
Posted
dont suppose anyone knows of a version of this for win7 x64 even the x64 version of devcon i found just says no. Worked a treat on a load of tosh netbooks though running xp pro thanks just added it as a startup script running from netlogon lol
Posted
dont suppose anyone knows of a version of this for win7 x64 even the x64 version of devcon i found just says no. Worked a treat on a load of tosh netbooks though running xp pro thanks just added it as a startup script running from netlogon lol

 

Glad it worked :)

 

The DevCon command-line utility functions as an alternative to Device Manager - Ia64\DevCon.exe 64-bit DevCon tool binary should do the trick. Is this for a load of woekstations? The Ia64\DevCon.exe 64-bit DevCon tool binary is in the devcon package, I believe

Posted
Glad it worked :)

 

The DevCon command-line utility functions as an alternative to Device Manager - Ia64\DevCon.exe 64-bit DevCon tool binary should do the trick. Is this for a load of woekstations? The Ia64\DevCon.exe 64-bit DevCon tool binary is in the devcon package, I believe

 

theres a 64 bit one in there but it wont run on win7 just says something along the lines of what the fudge os is this

 

it was to disable webcams on a load of hp laptops but as i cant seem to get them to work as an admin (i probably diddnt install software and driver on its own seems to do nowt) im not worried

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...