Jump to content

D8TA

Member
  • Posts

    136
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by D8TA

  1. I renamed the Media directory under C:\Windows and will see what happens. Hopefully this will disable all the annoying sounds.
  2. I am trying to set the sound scheme for all users to No Sound. I can go in on the newly created user and set the sound to No Sounds but if I create a new user the Windows Default is set to use again. Is there anyway to set the No Sounds for all users? I can save the No Sounds scheme but I don't know where that is located or if I could even deploy it to all my workstations. I would like to set all of the PCs I manage to use No Sounds and deploy the setting to them. Any suggestions or advice on how to set anyone who logs in and creates an account to have the sound scheme to No Sounds. Thanks!
  3. This collects the computers name? I don't think I explained myself very well. The script I posted will create a scheduled task that will reboot the PC at 11:59pm EST every Saturday. I have a text file with all of our PCs. What I want to do is run this vbscript using the text file. I have another script I use and I can use the following to apply the script to all of the PCs. I use msclient.vbs textfile.txt and it will install the Microsoft client on all the PC in that text file. I will try the script you posted smokinggunman, I may not be reading it right. But I would like to use SchTask.vbs textfile.txt and have the script run against all PCs in the text file. I tried using the same thing as I have in the msclient.vbs but it doesn't work. I hope that helps clear things up. Thanks again smokinggunman. By the way, I've seen several of your scripts do you have a book or a place you have all your scripts located? I am really trying to learn this vbscript thing but sometimes it just goes right over my head. Could I add this? Const ForReading = 1 Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim TextFile : TextFile = "Test.txt" Dim StrLine, Ts Set Ts = Fso.OpenTextFile(TextFile,ForReading) Do Until Ts.AtEndOfStream StrLine = Ts.ReadLine WScript.Echo StrLine Loop Would this read the Test.txt file and apply the SchTask.vbs to all PCs in the Test.txt file? Const ForReading = 1 Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim TextFile : TextFile = "Test.txt" Dim StrLine, Ts Set Ts = Fso.OpenTextFile(TextFile,ForReading) Do Until Ts.AtEndOfStream StrLine = Ts.ReadLine WScript.Echo StrLine Loop strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewJob = objWMIService.Get("Win32_ScheduledJob") errJobCreated = objNewJob.Create _ ("shutdown.exe -r -t 120", "********235900.000000-300", _ True , 32, , , JobID) Wscript.Echo errJobCreated
  4. I have this vbscript that creates a scheduled task to reboot a PC at 11:59pm on every Saturday. What I would like to do is have this script read from a text file that will contain all of the PC numbers so as the script runs it will read the text file and apply the scheduled task to other remote PC on the text document. Here is the script I have strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNewJob = objWMIService.Get("Win32_ScheduledJob") errJobCreated = objNewJob.Create _ ("shutdown.exe -r -t 120", "********235900.000000-300", _ True , 32, , , JobID) Wscript.Echo errJobCreated
  5. Once I have an IP address, Subnet, Gateway, DNS information entered into the Alternative Address is there a way I can remove them all or disable the Alternative Address and just use DHCP? Currently I have several notebooks setup for alternative IP address because we did use static IP addresses. We are now moving to DHCP and I want to remove all these entries. I've tried resetting the IP stack but that doesn't appear to work for the alternative address. I know it really doesn't matter because once the notebook connects our DHCP server will assign it an address but I would like to clear these entries. Any help would be appreciated.
  6. D8TA

    Reboot PCs weekly

    I created a task using the described method and it did place the schedule task in with the local admin user but it doesn't run. These PCs are in an Active Directory domain so do they need a domain admin username and password? I have been trying to set the scheduled task to run under System but I am not sure how to do that. Any other suggestions would be greatly appreciated!
  7. The PC number is the computer name. Here is the vb script I found: Const EVENT_SUCCESS = 0 Set objShell = Wscript.CreateObject("Wscript.Shell") objShell.LogEvent EVENT_SUCCESS, _ "Weekly scheduled restart of the SERVERNAME" strComputer = "." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate,(Shutdown)}!\\" _ & strComputer & "\root\cimv2") Set colOperatingSystems = objWMIService.ExecQuery ("Select * from Win32_OperatingSystem") For Each objOperatingSystem in colOperatingSystems ObjOperatingSystem.Reboot() Next I'll try the AT command for my schedule task and see what happens.
  8. I found a vbscript to remotely restart PCs but it doesn't appear to work. What I want to do is from a text file that has a list of about 500 PC numbers I want to restart them at midnight on Saturday. I tried to create a scheduled task but it says it couldn't start. I created a batch file using the admin account on these PCs to execute the shutdown. Not 100% what went wrong so I thought maybe a vbscript would work and just read the PC numbers from the text file to reboot them remotely.
  9. How can I modify date and time for the scheduler within the Scheduled Task. I want this to run at 11:59pm every Saturday. Can't find what file to modify to correct this. never mind I found it and changed it. Thanks again and I look forward to assist with your Beta testing. Thanks!
  10. I am trying to figure out a way how I can check this check box if it isn't already checked. I have over 2500 PCs and we are just starting to roll out AD. We currently use HP Radia so I can package a script or reg file and deploy it out but not sure what I need to do to enable this check box so all of my PCs regsiter their addresses with DNS. I forgot to mention these are all Windows XP sp2 machines. Thanks!
  11. I am trying to figure out how I can create a scheduled task running as our administrator, local accounts don't have rights, to reboot the PCs on Saturday and do this weekly. We don't have Active Directory up and running yet but should in a couple of months. Our policy is to have all users restart their PCs at the end of the day. Many users just log off and some updates we push out don't get applied, especially patches. So I am trying to figure out how I can create either a script or bat file to create a scheduled task to run shutdown.exe on all the PCs on the network. I was looking at "at 00:00 cmd /c shutdown.exe" but I have no clue what I am doing. The image we use to deploy new machines already have this shutdown as a scheduled task. We use the Netware client if that helps anyone out. Any and all help would be appreciated.
  12. I have a few users who had tons of clip art that they downloaded from the web. These worked fine with Office 2000 but when we upgraded to Office 2003 these users can no longer search for the clips. I looked at the keywords and all of the downloaded clips have no keywords that reference the clip. Is there a speacial way to either import the clip art from Office 2000 to Office 2003 so that the keywords remain with the clip when imported. Thanks!
  13. How can I turn of the video display? That would work also so the screen is either hibernating or blank. I've tried hibernation mode, standby mode, etc and I've set everything to kick on after 30 minutes, hibernation and standby mode that is. When I return to the PC 30 minutes - 45 minutes later the Important Notice box is still displayed. Of course if I log into the PC and lock it everything works alright. My dilemna appears to be going in the wrong direction because my thoughts are the Important Notice message we implemented is causing the PC not to kick into the hibernation or standby modes. Any other suggestions??
  14. We are using HP Radia for software deployment and application verification. We also use Radia for Patch distribution and we do this in the wee hours of the morning. That is why the PCs need to stay on so these will run, verify, and install. Thus, our policy for the user is to reboot the PC then power off the monitor, prevent the screen burns. However, the users aren't always shutting down the monitor and that is where I am looking for some help. I hope this clears up the air, if not, I will try to provide any additional information anyone needs.
  15. Thanks but that didn't work either. I think it has something to do with the Important Notice and the focus is constantly on that. The Important Notice is what is getting burnt into the screens. Any other ideas??
  16. This looks like something the user would have to click on, icon on the desktop. Our procedure is to restart the PCs then power off the monitor. The problem is the users restart the PCs but don't turn off the monitors. I need something that will prevent the screen burn, having the users do so isn't an option obviously, powering down the PC or turning off the monitor. Thanks for the link though, it does look cool.
  17. I've browsed throuhg some threads on this board regarding Hibernation and Standby but not sure if that will work in my case. We are running Windows XPsp2 and we use a Legal Notice warning prior to the login of the workstation. We have several users who don't turn their monitors off at night and the screens are getting burnt in with that legal notice message. I tried some tests and was unable to get hibernation to work, not sure if you have to be logged in for this to work. What I am trying to do is if a user restarts their PC I would like the monitor to shut down or a screensaver to work so we can prevent the screen burns we are experiencing. We also use the Novell NetWare client. The Important Notice is applied to the registry, HKLM\Software\Microsoft\Windows\CurrentVersion\policies\system we use the legalnoticecaption and the legalnoticetext fields. I have set hibernation to 30 minutes and after I restart and have the Important Notice message on the screen and come back 45mins - an hour the screen is still up displaying the Notice message. Any ideas on what I can do to shut down the monitor to prevent any future screen burn issues?
  18. I had the users run the Detect & Repair option under the Help menu to correct this issue. It wasn't as wide-spread as others had thought and only affected 3 users.
  19. I have several users who I deployed just Outlook 2003 sp1 too. I have since deployed Office 2003 sp2 which includes Outlook 2003 sp2, updating the Outlook 2003 sp1 users. We are running Windows XP sp2 and these are mainly notebook users, Dell GX610 or desktops GX280. This doesn't happen to everyone just a handful but here is what happens. After the update users are unable to send messages. The message just sits in the Outbox until you uncheck the cached mode then they can send and receive just fine. I have several other users who are not experiencing any problems. Has anyone seen anything like this, if so, any recommendations to prevent it from happening in the future? Thanks!
  20. Yeah, I did this for our desktops but this doesn't seem to work for the alternate configuration settings. Thanks though.
  21. I am trying to figure out how to change the DNS and WINS settings for the TCP/IP properties on over 500 notebooks. We have the General configuration set to DHCP for both the IP and DNS so when the users leave the office and plug into their home ISP they will be able to access the internet, etc. Then when they come back in the office we use static IPs so the Alternate Configuration is set. The problem now is we are changing the addresses for the DNS servers and WINS servers and I cannot figure out how to change them. We don't currently have an AD/Directory service yet but that is in the works for this year. All PCs are running Windows XPsp2 and the notebooks are Dell D600 or D610 models. I tried to use the registry key and import that but it appears it takes the IP address, subnet mask and default gateway from the settings also. I cannot have 500 notebooks with the same IP address and not expect to generate help desk calls. I am not fluent in scripting but am assuming that is the way to go. Can anyone provide any assistance? Thanks!
  22. I found a way. I added a new column the went to Insert|Function then used Concatenate. Works like a charm!
  23. I have an Excel spreadsheet that I need to add the letters PC to. Basically, this spreadsheet was exported from our asset management system so I have several rows with our PC numbers but they are listed as 10000C or 2456N. I need to add PC to the front of these asset numbers so they look like PC10000C and PC2456N. I remember doing this many years ago but don't remember how I did it. I thought I had used Access also to get my results but any help would be appreciated. Thanks!
  24. Microsoft Baseline Security Analyzer http://www.microsoft.com/technet/security/...s/mbsahome.mspx I tried the Basline Analyzer but I didn't see anywhere where it stated the version of the Operating system?
  25. Does anyone know if there is a network scanner that can scan ip ranges and report back if PCs are still running Windows XP service pack 1? I have over 2400 PCs and believe all of them are running sp2 but I need to double check and create a report. If I had a script or utility that would scan a network by ip ranges and then report back which OS the PC is running that would be great. I don't know of any and thought I'd see if anyone could help me out. Thanks!
×
×
  • Create New...