473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Changing the XP environment - Getting started

2
Hi there.

I work for an AV hire company that also deals with a lot of Windows XP laptops. Before they can be sent out, I have to configure them to display a certain wallpaper, have specific shortcuts on the desktop (namely Microsoft Office and Windows Media Player, among other things), disable any screensavers and use specific power options. I've normally got a lot of other work to do, and preparing a pile of laptops can take quite a while.

I'm just wondering, how much of this process can be automated through a script or a simple program? From the information I could gather, it seems that it's possible to configure some of these settings through Windows Powershell, but I'm not sure I'd have the time to update all of the computers to dotNet 2.0 and install Powershell as well.

I have to admit, my knowledge of C programming is pretty basic, though I've managed to make some fairly complex patches for a game called NetHack, which has had chunks grafted onto it by the DevTeam over the past 20 years or so. According to more experienced programmers it is in drastic need of a rewrite - Probably not the best way for me to learn! :)

So would C / C++ be the best way to go with this? Is it even possible? If anyone can offer any insight or point me to some useful tutorials or articles, I'd be extremely grateful.
Feb 23 '07 #1
3 1313
Motoma
3,237 Expert 2GB
I think the easiest method of doing this would be to copy the user settings from the Documents and Settings folder.

Or use cloning software to do the install.
Feb 23 '07 #2
DigDug
2
Thanks for the ideas Motoma - your ideas would be easier than writing an app specifically for the job, but that's sort of what I was hoping to do. :)

I've managed to create the necessary desktop shortcuts using VB script through the Windows Scripting Host, but I'm having trouble changing the desktop theme and power settings. I've tried using keypresses to change all that and so far I've managed to launch the Display Properties (desk.cpl) this way.

The problem is, I don't know how to change the window focus to the Display Properties window - any subsequent scripted keypresses are processed in the explorer window that desk.cpl was launched from.
Feb 25 '07 #3
Motoma
3,237 Expert 2GB
Thanks for the ideas Motoma - your ideas would be easier than writing an app specifically for the job, but that's sort of what I was hoping to do. :)

I've managed to create the necessary desktop shortcuts using VB script through the Windows Scripting Host, but I'm having trouble changing the desktop theme and power settings. I've tried using keypresses to change all that and so far I've managed to launch the Display Properties (desk.cpl) this way.

The problem is, I don't know how to change the window focus to the Display Properties window - any subsequent scripted keypresses are processed in the explorer window that desk.cpl was launched from.
Write an app that extracts the user settings to the proper folder :P
Feb 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Fred Lionetti | last post by:
Hi all, I'm just wondering if anyone can tell me how to change an environment variable from python. I know you can view variables through os.environ, but changing the dictionary doesn't seem to...
7
by: Stefan Finzel | last post by:
Hi, is there a way to change the display property on Windows Mobile 2003 SE Mobile/Pocket Internet Explorer? See following example. Please note: visibilty property has the same problem. Is...
13
by: John Bowman | last post by:
Hi All, I've got a simple wrapper static test method on a class to expand the environment variables on a specified string: public static string ExpandEnvironmentStr(string Str) { return...
6
by: tshad | last post by:
Is there a way during Page_Load to change or add an attribute to the Body tag? I want to be able to change the onLoad body attribute to do a focus on one of my text boxes, such as: ...
15
by: Rob Nicholson | last post by:
A consequence of the ASP.NET architecture on IIS has just hit home with a big thud. It's to do with shared variables. Consider a module like this: Public Module Functions Public GlobalName As...
5
by: Phil Galey | last post by:
Is there a way of getting to point to D:\Program Files rather than C:\Program Files? If I try replacing with D:\Program Files, I get an invalid character error. Thanks.
4
by: jacob navia | last post by:
Hi people I continue to work in the tutorial for lcc-win32, and started to try to explain the floating point flags. Here is the relevant part of the tutorial. Since it is a difficult part, I...
6
by: Fuzzyman | last post by:
Hello all, I would like to set a Windows Environment variable for another (non-child) process. This means that the following *doesn't* work : :: os.environ = value In the ``win32api``...
2
by: RB0135 | last post by:
Hi, I hope I worded the subject correctly. Under VS2005, I have created the wizard to add a datasource that connects to my SQL2005 server. I ran through the wizard and this created a Dataset,...
0
by: Vinod Sadanandan | last post by:
Fast-Start Failover An Overview In Dataguard Environment ============================================================================= This article describes the automatic fast start failover...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.