Jump to content

smc1979

Member
  • Posts

    118
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by smc1979

  1. If you need any help with any other user admin stuff let me know. I use to be a netowrk admin and had to write a ton of apps. So I can make you just about anything you need.
  2. here is what I use for the batch file to see my cd rom no matter what the drive letter. First make a txt file called cdxp123.txt and put it at the root of the cd. this txt file will be blank it is the file name we will be looking for. now in your batch file as the first thing to run is this IF EXIST D:\cdxp123.txt set CDROM=D: IF EXIST E:\cdxp123.txt set CDROM=E: IF EXIST F:\cdxp123.txt set CDROM=F: IF EXIST G:\cdxp123.txt set CDROM=G: IF EXIST H:\cdxp123.txt set CDROM=H: IF EXIST I:\cdxp123.txt set CDROM=I: IF EXIST J:\cdxp123.txt set CDROM=J: now the %CDROM% will work. Hope this helps. I like to use this cause I install all the software off the cd instead of having it copied to the hard drive and then installed.
  3. ok here you go my man. Just simply run it with a switch thats points to the wallpaper you want to set. example: start /wait Changewallpaper.exe /C:\wallpaper.jpg it will load the picture which can be any standard jpg bmp gif and such and then set it as your wall paper. Have fun. ChangeWallpaper.zip
  4. On mine which is 9.0.1.1100 I get rid of the setup.exe and simply rename the msi file to set.msi then just run this setup.msi /qb REBOOT=REALLYSUPPRESS RUNLIVEUPDATE=0
  5. Not sure why you are having the problem, but if you like I right a small app for you so set the wall paper to it or anything you want.
  6. Here you go, this will change the setting for you. To what it will change it to since you may have trouble reading english I posted a pic of the settings. Code: [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0] "Name"="Home/Office Desk" "Description"="This scheme is suited to most home or desktop computers that are left plugged in all the time." "Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,32,32,00,03,02,00,00,00,02,00,\ 00,00,00,00,3d,77,2e,f2,07,00,10,0e,00,00,2c,01,00,00,00,00,00,00,58,02,00,\ 00,00,00,64,64,64,64,91,7c [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg\PowerPolicies\0] "Policies"=hex:01,00,00,00,02,00,00,00,02,00,00,00,02,00,00,00,02,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,07,00,00,00,00,00,04,00,\ 00,c0,00,00,00,00,00,00,00,00,04,00,00,c0,00,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Power] "AcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\ 01,00,a0,86,01,00,a0,86,01,00,28,32,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\ 00,a0,86,01,00,28,3c,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\ 28,50,00,00,01,00,00,00 "DcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\ 01,00,a0,86,01,00,a0,86,01,00,0a,14,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\ 00,a0,86,01,00,14,28,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\ 14,46,00,00,01,00,00,00 "AcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\ 00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,00,00,\ 00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,ad,74,02,00,00,\ 00,02,00,00,00,02,00,00,00,01,00,00,00,24,f2,07,00,00,00,00,00,03,00,00,00,\ 01,00,00,00,03,00,00,00,00,00,00,00,04,00,00,c0,01,00,00,00,02,00,00,00,01,\ 00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,10,0e,00,00,\ 00,00,00,00,01,00,00,00,b4,69,e6,ef,00,00,00,00,00,00,00,00,00,64,64,00,00,\ 00,00,00,04,00,00,c0,00,00,00,00 "DcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\ 00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,2d,39,\ ea,77,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,32,03,ea,77,02,00,00,\ 00,02,00,00,00,02,00,00,00,01,00,00,00,70,f3,dd,77,00,00,00,00,03,00,00,00,\ 01,00,00,00,03,00,00,00,00,00,00,00,04,00,00,c0,01,00,00,00,02,00,00,00,01,\ 00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,2c,01,00,00,\ 01,ee,07,00,5a,c5,df,77,00,00,00,00,00,00,00,00,58,02,00,00,00,64,64,00,00,\ 00,00,00,04,00,00,c0,00,00,00,00 "Heuristics"=hex:05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00
  7. but for the cmdlines.txt there is nothing special. You can do some research on it. here is a screen shot of my cmdlines.txt and the folder it goes in.
  8. to put it in a more simpler terms make sure the program and ini file get put into the system32 dir. then if you view the reg fil with the program you need those entered into the reg. All the reg file is, is the runonce paths to the program.
  9. Ok new version has been put on the first post. You can now have the visual effects set for all new accounts and even the default account you create during setup (cause its a new account duh) Enjoy guys no more updates should be needed as of now. But you never know.
  10. this will enable the numlock on accounts that are created [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2"
  11. Good news guy I have a way that the visual effects can be set for all new accounts that are created. Heres what I will have it do. I will have the program installed into the system32 dir of windows where it will stay. Under HKU I will put a runonce start key that will be transfered to all new accounts that are creadted. so when a new account logs in for the first time it will run the program and then remove itself from the runonce. thus when the user reboots the setting will take effect. Bingo! there you go now we can have it set for all the users. I will update the program and put a how to text file with it tonight after I test it.
  12. Actualy HKCU has nothing to do with default user accounts that are made. HKCU is meant for the currently logged in user. HKU\.DEFAULT is where you can set settings that will transerfered to all new accounts. In my regtweak file I dont use ANy HKCU for all those i use HKU. then every account I make gets those settings.
  13. Wait!!! I may of found where it creates the new keys from. I may after all be able to have it set to default for all new user accounts. I am looking into this now. I will let you know.
  14. Well it turns out it is impossible to have it set for deafault. Every time you make a new account the main reg key under HKU changes and is different for each account. So there is no way to set it as a default for when you create a new account. But at least the program has a slient command and simply can be ran for each new account made. I wonder..... If I was to have the program set in the system32 dir during install, and every time a new account is created the program is ran with the /silent command thus having it set to a deafult it a sort of way. So basicly I can have it added into the setup of XP and it satys part of the os in the system 32 dir. I mean it is only 78kb or something so it is small. I can find where in the registry windows runs the commands for creating a user account. What do any of you guys think about me looking into this?
  15. I totally agree, but there’s a big problem for the visual effects and that. All the settings for visual effects are under the main key of HKU. All the keys you find under HKLM and HKCU take there settings from HKU. The problem is the key that they are all under like mine is "S-1-5-21-789336058-651377827-839522115-1003" well not be the same on a different XP. In fact every new install this key is different. So using a reg file simply wont work. So what my program does is simply find the correct key for the computer and set the settings you want, which are in about 5 different places under that key. I can not believe how hard Microsoft made it to change those. How I found out what keys they are is after a fresh test install I set all the visual effects on (default) I then used a program and took a snap shot of the reg. After that I did nothing esle but turn ALL the settings off, rebooted then took another snap shot and had it compare for changes. A lot was changed but I found every key for the visual effects. When I went to go try and change them on my machine and another test machine with a reg fiel the file wouldn’t import, when I looked at the key it was different and saw this would be a problem. The only solution was to make a program for it. I haven’t tried to run the program from the cmdlines yet, not sure if you can, but it you can then you might be able to change that for the default user (which would be best). Right now I am working on the program and I will test running it from there. Thanks for the idea to do that!
  16. Ok I finaly got it to work, but it was trickey. And if it has to be trickey then it really isnt very useful is it? So I will change it tonight, I have to leave for a while right now. But anyways how I got it to work was have you ever tried to use shutdown.exe after all the installs to reboot? If you have you know that is tricky to get it to run right from a automated install. How I do it is have a 2nd cmd file that is ran off the cd to install the software and run the shutdown (was the only way I could get shutdown to work) cause running it from the main cmd file didnt work. Well by the time it is running the apps from the 2nd cmd file the destop is loaded while the things are installing. Well basicly when I had the setup going to where shutdown would run right so did my app. Seems XP is picky as hell. So basicly whats the point of my app if you have to break your arm to get it to work? Well I plan on fixing that LOL. Not sure yet but dont worry I need this as bad and as soon as you guys so excpect a fix most likley later tonight. its about noon my time. Again guys thanks for using the app, and if you wnt anything done to it just ask me :-) Same way I am with my CS Fire monitor off my website. I want to program the best, and its only the best when it does what people want. So ask and it will be done. LOL Take care.
  17. I am working on that problem right now of the settings not taking effect. Basicly when I install it doesnt work, but I can run it afterwards and its fine. From what I can tell explorer is overwriting it. The reg keys are a pain in the butt and is where windows rules (in other words you cant delete or make new keys but you can change vaules) So it is in a rather protected area of the registry. I will find a way for the app to copy itself to a temp dir and run a again on a 2nd reboot and then delete itself, and see how that works. I will post my new fix once I figuar it out :-)
  18. Done! I modified the first post. Of course msg me with any trouble. also I am still testing to make sure my self. But the bug I found is fixed so there shouldnt be any GUI problems with windows, and the /silent switch now hides the program. I had the program set to run for 2 sec after it did its works to make sure it had time to finish, I had forgot to hide the form :-P silly me. Anyways so far from the testing all works great. Also MAKE SURE to read the bottom of the first post about how to run the app during install. Windows will overwrite the reg keys when the desktop is shown for the first time. So the app needs to be ran after that. not hard though.
  19. I am fixing that now, the next version will be 1.0.1 and will be up in about an hour. when ran with the silent command it will now hide the window. Also I found a small bug and I have that fixed. Give me a few mins. and the new version will be up
  20. Did you try to set the visual effects using the /silent command or through the GUI?
  21. The visual effects form my computer and the display properties are the same. Here use my app and your all set. [url="http://www.msfn.org/board/index.php?showtopic=30078"]http://www.msfn.org/board/index.php?showtopic=30078[/url]
  22. only one! /silent You can open the program before you put it on the cd and set the setting by simply checking the ones you want. the setting are saved in the settings.ini. So when it is ran with the /silent switch it will read those settings. So this program also have a GUI interface :-)
  23. OK my man!! here you go! Enjoy http://www.msfn.org/board/index.php?act=ST...t=0#entry206542
×
×
  • Create New...