|
Control Panel > User Accounts. Select your account. In the task pane, under Related Tasks, click 'Manage my network passwords'.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I want to create a string value DisableLockWorkStation under the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System. The user is not allowed to do it. (I want to do it for NT4, Win2k, and XP).
The manual way is to login as the administrator, run regedt32, and load the registry hive ntuser.dat file of the user from Documnents and Settings under HKEY_USERS. Afterwards create the new value and unload the hive.
But then the administrator should repeat it for every user. How can the administrator do a change that affects every user? I tried creating the value in the relevant key in [HKEY_USERS\.DEFAULT]. It didn't affect either the user or the administrator.
Actually I want to do this during the installation of my program. So the solution has to be convertible to C++ for me.
Thank you...
|
|
|
|
|
The way to edit this is to use Group Policy. See this page[^] for details (Google's cache of a page on microsoft.com).
I'd recommend asking the administrator to do this. If you're in an Active Directory network environment the administrator can do this by creating a Group Policy object with the setting; place all the computers you want the setting to affect in the same Organizational Unit in AD, and link the GPO to that container. If you want a global policy for your organisation, create the GPO in the domain root.
If you must do it on a local system through code, you can use the IGroupPolicyObject interface to edit the local GPO.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Please help....
Here is the problem.
I need to create a batch file that
formats the HD, connects to the network(DHCP)
and installs WindowsXP
...
I can connect to the network but when the drive
gets formatted, the partition size is too small
and WindowsXP will not install.
I am using DOS 6.22
any help would be great.
thanks
Will
|
|
|
|
|
OMalleyW wrote: I am using DOS 6.22
As far as I know windows xp require DOS higher than 7.0. Did you create the start up disk of windows xp? Try to read this article[^] for more information.
|
|
|
|
|
Hi !!
In my batch, I need to launch an application, wait for it to be finished and then keep going with my batch.
But unfortunately, as soon as my app is launched, the batch keeps going without waiting for the app !
When I try to launch manually from the Dos window the app, I can see that I get the prompt as soon as the app is launched. On the other hand, when I launch other apps, I don't get any prompt before the app is finished !
Why do I get those different behaviours ? How can I make sure the prompt will wait for the app to be finished ?
thanks for your help !
Jerome
|
|
|
|
|
Are you using the Call <app> command in your batch?
|
|
|
|
|
I tried with and without the 'Call' command, but it didn't change anything.....
|
|
|
|
|
I think there are two case:
1. You want to control the application that is running by yourself you could use the PAUSE command[^] to terminate your batch process. After you close the application then you can press any key to continue.
2. If you want to run it automatically without user respond, you should create your batch file in a seperate file then schedule it to run by an estimate period. For schedule the batch file to run in a specific time check AT command[^] for more information.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I allready create ftp server but i have some problem about this, If i check box ANONYMOUS connection in Security account i can open any computer that i want but if i clear this check box it need the user name and
password but when i type the password i have the
porblem like below:
220 Microsoft FTP Service 500 'GET http://192.168.0.3/ HTTP/1.0': command not understood 421 Timeout (120 seconds): closing control connection. 421 Terminating connection.
AND
220 Microsoft FTP Service<br />
500 'GET ftp://atech@192.168.0.3/ HTTP/1.0': command not understood<br />
421 Timeout (120 seconds): closing control connection.<br />
421 Terminating connection.
but if i test in the local machine i can open all.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I used SYSKEY command set the security password for my computer but did not back up it to the diskette. Now I forget my password and could not access to my computer. Does any one have any idea to hack SYSKEY command or get the password that we forget from it system? sigh:
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Hi, I have a problem with my PC. I don't know why my network card is disable. I'm sure that my PC don't have any other people to use and I don't made any change to my PC but this problem appear one time a month or in the next two month it might be appear again (base on my experience). Does anyone have an idea about this problem?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
LINUX-FEDORA -- environment variables..
QUESTION 1. This may sound like a dump question (okay,it is a dump question):
CATALINA_HOME=/usr/local/tomcat-4.1.30
APACHE_HOME=/usr/local/apache2
ANT_HOME=/usr/local/ant
JAVA_HOME=/usr/java/j2sdk1.4.2_05
J2EE_HOME=/usr/java/j2sdkee1.3.1
PATH=$PATH:$JAVA_HOME/bin:$J2EE_HOME/bin
CLASSPATH=.:$J2EE_HOME/lib/j2ee.jar:$J2EE_HOME/lib/locale
export CATALINE_HOME
export APACHE_HOME
export ANT_HOME
export JAVA_HOME
export J2EE_HOME
export CLASS_PATH
What does command "export" do? I found this:http://www.er.uqam.ca/nobel/r10735/unixcomm.html
export - place the value of a variable in the calling environment (makes it global). This is a shell builtin.
But don't quite get what it means...
QUESTION 2: I placed the above script in file /etc/profile so environment variables get loaded everytime you go into console mode by "CTRL-ATL-F1" -- BUT, is this equivalent to "System" environment variables in Windows? I notice that this script wasn't executed if console is launched from "menu>System Tools>Terminal" (launched from desktop menu)... how can I get around this?
THanks!
Norman Fung
|
|
|
|
|
Export makes the variable available to programs started from your current shell. Without "export" the variable value is usable only in the shell script where it's defined.
Q2: Looks like the shell launched from System Tools->Terminal isn't a login shell, so it doesn't read /etc/profile. A workaround for this is to place the commands in a separate script in the /etc/profile.d directory so it gets sourced by /etc/bashrc. You should do this anyway for your own customizations instead of modifying the system /etc/profile script. Give the script a ".sh" suffix and make it executable.
BTW. you should subscribe to the Fedora mailing list, or use the forums at FedoraForum.org.
|
|
|
|
|
Thanks, yes, it's "bashrc" launched from "System Tools>Terminal" that's having problem. I've followed your instruction and placed a startup script (profile.sh) under "etc/profile.d" directory - it worked and it gets executed everytime bash is launched.
btw,
1. Why is it called "bashrc" and not "bash"? does "rc" stands for something? "root console" perhaps?
2. If any application is launched from Console (login shell or bashrc), then obviously the environment variables in my startup scripts (etc/profile.d/profile.sh) would be in effect. But what if the application is launched from side menu bar? profile.sh only runs when you launch "bashrc".
Norman Fung
|
|
|
|
|
|
My Biztalk 2004 configuration fails on the box that has Windows server 2003, Sharepoint Server 2003, SQL Server 2000, Analysis Services, Visual Studio 2003.
Here are the lines from the log file that I think will help:
[2:47:51 PM Info ConfigFramework] Retrieved cached IConfig object for feature: WMI ProgID: MSEBiz.BtsCfg
[2:47:51 PM Info ConfigFramework] Currently configuring: WMI
[2:47:51 PM Info BtsCfg] Entering function: CBtsCfg::ConfigureFeature
[2:47:51 PM Info BtsCfg] Configuring feature: WMI
[2:47:51 PM Info BtsCfg] Entering function: CBtsCfg::IsSelectedCreate
[2:47:51 PM Info BtsCfg] Leaving function: CBtsCfg::IsSelectedCreate
[2:47:51 PM Info BtsCfg] Entering function: CWMI::Connect
[2:47:51 PM Info BtsCfg] Leaving function: CWMI::Connect
[2:47:52 PM Info ConfigHelper] NT group BizTalk Server Administrators created successfully
[2:47:52 PM Info ConfigHelper NetAPI Info: ] The operation completed successfully.
[2:47:52 PM Info BtsCfg] Entering function: CWMI::CreateGroup
[2:47:52 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:02 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:12 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:22 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:32 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:42 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:51 PM Info BtsCfg] Entering function: CBtsCfg::IsSelectedCreate
[2:48:51 PM Info BtsCfg] Leaving function: CBtsCfg::IsSelectedCreate
[2:48:51 PM Info BtsCfg] Entering function: CWMI::CreateTrackingAnalysisServer
[2:48:51 PM Info BtsCfg] Entering function: CWMI::CreateAnalysisServerFromExe
[2:48:52 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:48:58 PM Info ConfigHelper] Feature: Engine is installed
[2:48:58 PM Info BtsCfg] Entering function: CWMI::CreateServer
[2:48:59 PM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btswmi.cpp(395): FAILED hr = 80004005
[2:48:59 PM Error BtsCfg] Unspecified error
[2:48:59 PM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btscfg.cpp(774): FAILED hr = 80004005
[2:48:59 PM Info BtsCfg] Leaving function: CBtsCfg::ConfigureFeature
[2:49:02 PM Info ConfigFramework] Waiting for configuration thread to complete.
[2:49:03 PM Info ConfigFramework] Showing MessageBox with text: Unspecified error Return Code: 2
==================================================================
Please let me know
thanks.
That's my story and I'm sticking to it!
|
|
|
|
|
I use Windows Media Player 10 for my media files. I also use media player for listening
to & previewing of songs and videos on music.msn.com and movies.msn.com. Since a
few days, i have all of a sudden started getting an error whenever i click on the
play/preview button on music.msn.com or movies.msn.com for any song or video clip.
The error states :
Windows Media Player cannot play the file because the specified protocol is not supported.
If you typed a URL in the Open URL dialog box, try using a different transport protocol
(for example, "http:" or "rtsp:").
the error still persists .. i hv even tried re-installing media player but to no
avail ... plz help me
--
Nikhil
|
|
|
|
|
|
I have cox communications business HSI (high speed internet) so I have all open ports and can run servers. I have a W2K3 server at home and can connect to my RDWC internal. I can bring up the server through IE on my laptop.
When I try and connect to my server outside my network I get the following errors:
(when I enter the IP address of my server)
http://jupiter.walagata.com/w/nvethis/error.JPG
(when I enter the server name)
http://jupiter.walagata.com/w/nvethis/error2.JPG
I have port forwarding enabled to my server for 80, 25, 110, 3389, etc.
Thanks for any help.
-Bryan
|
|
|
|
|
As far as I know, this require you to create VPN connection. Did you do that?
|
|
|
|
|
HI ,
Anybody have any ideas were i could find this tool (IIS Exception Monitor). or something similar??
Is it any good - i have a random problem were my main site just stops responding to any requests and when i try to stop the service (net stop w3svc) it fails to restart forcing me to reboot the machine to fix it.
|
|
|
|
|
|
Hi
I have a batch file that calls an executable to perform some pausing and resuming of services during a backup process. My question is there a way to have some error reporting in the batch file say a "script error" or something along those lines. Thanks in advance.
|
|
|
|
|
In my opinion, you may plan you code what to do when it will running. For example your code have 5 actions to perform, so at the end of each section you should write any code to output to the file to inform that it is running successfully. So when your batch file run it will output to the file or append to the file (base on what you specify) if the action in your code is running successfully, but if you write anything wrong and your code stop running unexpectly it won't write any result to the file (the file that you specify the path and file name). So you might know where the code is reach it process.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|