aleinss Posted February 20, 2005 Posted February 20, 2005 Here's a simple way of determining what hardware you are on if you are trying to make a universal image for laptops and PCs. I make the assumption that if a modem is found that it is a laptop:@echo offC:\install\temp\pci32 > C:\install\temp\dev.txtC:\winnt\system32\find /i "modem" C:\install\temp\dev.txt >NULif errorlevel 1 echo "Not a laptop, do nothing"if not errorlevel 1 "C:\install\temp\profcopy.cmd"Here's a copy of profcopy.cmd that copies over a Default User Profile with the number lock disabled in the profile and forces the video resolution to 1024x768:C:\winnt\system32\xcopy C:\install\temp\laptop\profiles "C:\documents and settings" /o /f /e /y /h /rC:\winnt\regedit /s "C:\install\temp\numlockd.reg"C:\install\temp\setres.exe 1024 768 32 75PCI32 (Win32 console program) here: http://members.datafast.net.au/dft0802/downloads.htmsetres: http://www.iansharpe.com/downloads.php
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now