|
If you post your question in vb/vb.net forum[^] then you might get a lot of answer.
|
|
|
|
|
I have searched and can only find info on remote scripting in domains.
I want to use remote scripting to move an install file, initiate it and and monitor progress between 2 Windows 2003 servers in a WORKGROUP.
The problem with workgroupd i understand is there is no AD, no GPO, etc for users to authenticate against.
I tried
Const wbemImpersonationLevelDelegate = 4<br />
<br />
Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator")<br />
Set objConnection = objwbemLocator.ConnectServer("172.20.51.132", "root\cimv2", "MyComputer\Administrator", "password",,"kerberos:172.20.51.132")<br />
objConnection.Security_.ImpersonationLevel = wbemImpersonationLevelDelegate<br />
<br />
Set objSoftware = objConnection.Get("Win32_Product")
That authenticated but did not allocate any resources on the remote machine for the install and failed on the 'Get'.
I tried to find exec.vbs to see if that would do it but I cannot find it on this o\s.
Also, how do I set the following
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings\Remote to 1
as my installs do not have this value!
Any assitance would be welcome.
You can please some of the people all of the time and all of the people some of the time but not all of the people all of the time.
|
|
|
|
|
JohnnyBoyWonder wrote: I want to use remote scripting to move an install file, initiate it and and monitor progress between 2 Windows 2003 servers in a WORKGROUP.
I don't understand about what are you going to do. Could you give me more detail explaination about your purpose?
|
|
|
|
|
I have CI build server running on a win 2003 server machine which is not in the company domain, furthermore, neither I nor my project colleagues have admin rights to add machines into the local domain. We will not get admin rights to do the domain 'add' function and I want the flexibility to create clean installs, therefore, all servers that I create are put in 'WORKGROUP'.
Finally, I want to automate deployment testing using the build server but I would like to use remote scripting as part of unit testing to move the install files to a clean machine in the workgroup, start the installation process, monitor the progress and confirm state.
You can please some of the people all of the time and all of the people some of the time but not all of the people all of the time.
|
|
|
|
|
Hi, I have purchase a USB bluetooth from http://www.bluesoleil.com/[^]. I found that this bluetooth device also support network connectivity. Mean if you purchase 2 usb bluetooth device and plug to a 2 difference computer, then you will be able to contact with each other.
But I also found a Wireless network card[^] which enable us to connect between two computer which install this wireless device too.
From here, I have a question: what is the difference between the communication of bluetooth wireless network and wireless network card? is it the same or difference?
|
|
|
|
|
hi,
in blue tooth devices there is a communication between one device to other
but in wireless adapter card u need to have third mid device like wireless switch or router .
rst...
|
|
|
|
|
rituparn wrote: wireless adapter card u need to have third mid device like wireless switch or router
Thank you very much for your comment. If I have two laptop which is built in wireless network. Is it possible to connect with each other without wireless switch or router? I mean these two laptop could be able to transfer file from each other directly.
|
|
|
|
|
Hi, in windows xp, there is a tool call Windows Picture and Fax Viewer application which used to view an image and when scroll from one image to another image just use an arrow key. It is very easy to navigate from one picture to another picture.
In windows 2000, there is no this kind of an application. I have to open in photo editor one by one that is very difficult for me to navigate through my picture collection. Does any one know recommend me any free tool that use to navigate the picture in windows 2000 like windows xp?
|
|
|
|
|
I'm unable to decrypt my NTFS files and folders cos i formatted my base-partition even before decrypting them...
I think i've lost all those keys and certificates...
Any idea or tool to help me in this regard..??
Thanx!
|
|
|
|
|
You formatted the System partition?? You can check out this[^] little article on MSDN.
But, in ALL cases, if you haven't backed up at least the Administrators key, sorry, but you're screwed. There is no tool that will recover those files if the original partition/keys are lost before they were backed up. Even reinstalling Windows won't be of any help.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: But, in ALL cases, if you haven't backed up at least the Administrators key, sorry, but you're screwed. There is no tool that will recover those files if the original partition/keys are lost before they were backed up. Even reinstalling Windows won't be of any help.
I used to heard one more solution but I never practic. If you are running windows xp, you must add your administrator account to a member of Recovery and Agent group. Then you will be able to decrypt an encrypt file.
Why you are away from this forum for a few week, Dave?
|
|
|
|
|
I went and married my GF of 3 years. We then took off for 2 weeks in and around Las Vegas.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Congratualation, I wish you and your family always wealthy and healthy. That was a wonderful life
|
|
|
|
|
Roath Kanel wrote: If you are running windows xp, you must add your administrator account to a member of Recovery and Agent group. Then you will be able to decrypt an encrypt file.
This only works if you backup the keys used when the file was encrypted. If those keys are lost, and were never backed up, forget recovering the files, using ANY utility. Without those keys, there is no hope.
Reinstalling XP, or 2000/2003, after formatting the System partition like the OP did, won't help either because the keys under the new O/S will be different and won't be valid for decrypting the files.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: This only works if you backup the keys used when the file was encrypted. If those keys are lost, and were never backed up, forget recovering the files, using ANY utility. Without those keys, there is no hope.
Reinstalling XP, or 2000/2003, after formatting the System partition like the OP did, won't help either because the keys under the new O/S will be different and won't be valid for decrypting the files.
I see, thank you very much Dave for your explaination.
|
|
|
|
|
that didn't work Roath.It's all over
|
|
|
|
|
Yes, I also get a detail explaination from Dave too. I'm sorry that I could not help you with this issue.
ramamaru wrote: that didn't work Roath
My name is kanel, please call me Kanel.
|
|
|
|
|
Hello everyone,
I work at a non-profit org. and we have a small office network with 1 server (Windows Server 2000) and about 20 computers (fast, slow, dell, hp but all running Windows OS - pro and couple of home editions).
Our Windows Server 2000 is on a Dell Dimension E510 with Pentium HT 2.8 GHz and 1GB of RAM. It runs as a Domain controller and running Active Directory on it. Our DHCP is our modem - just so that DHCP works even when our server is turned off.
We recently switched from use of workgroup to domain after we got the server and couple of problems seem to be rising, which I need some help on.
1. Accessing people's shared folders became slower - sometimes up to a minute. Sometimes it goes really smooth. I think getting a router might solve this problem but we never had this problem before we installed the server on one of our computers
2. In our TCP/IP config we have our modem as "Preferred DNS" and our ISP DNS as "Alternate DNS". I am not sure if this is the way it should be. Seems like our Server is running DNS too. I don't know if I can disable it - though non of our computers are configured to look for DNS in the server (our local E510).
3. When a domain user wants to log on to the their computer it asks if they want to lon on to the the local computer or the domain. I was just wondering what's the difference? Which one should I use? Right now everyone is loggin onto their own local accounts because that's where they have their files and everything because that's the only place that we could log on to before we got the server.
How should I go about to solve this problems. Any help, ideas, comments, questions is appreciated.
Thank you for your time,
Chandman
|
|
|
|
|
Chandman wrote: pro and couple of home editions
What do you mean by home edition? Is it windows xp home edition?
Chandman wrote: We recently switched from use of workgroup to domain after we got the server and couple of problems seem to be rising, which I need some help on.
If your networking has a windows xp home edition, you won't be able to join your computer to domain controller. Only windows xp professional edition that could join to domain controller.
Chandman wrote: 1. Accessing people's shared folders became slower - sometimes up to a minute. Sometimes it goes really smooth
In my opinion, this issue relate to name resolution process. Name resolution process is translation from a computer name to an IP address. Our computer name are contact to each other via ip address. There are many step of name resolution process work: DNS cache, host file, DNS, NetBIOS cache, WINS, NetBios broad cast, lmhost file . You said that accessing to the other resource on your network sometime slow and sometime fast. This relate to name resolution process which fall in NetBios broadcast section which your computer boradcast its signal to find a computer with a specific IP address to connect to. From here, i want to ask you a question, does your network have a DNS server? DNS server is the server that use to store a DNS name with IP address of each computer. If you do not have DNS server, then you should edit the host file on each computer to point to a specific name and IP address. The host file is locate in %systemroot%\system32\drivers\etc\hostfile this file is open with notepad. Try to read its explaination in the file and add the record in it. If you afraid that it might impact to system, you can copy its original file to another location. Manually do this to all computer or copy and paste it via a diskette to the other computer.
Chandman wrote: I think getting a router might solve this problem but we never had this problem before we installed the server on one of our computers
Why you use a router in your networking environment? Router is a device that connect from LAN to LAN which has a difference network ID or connect from LAN to WAN (usually internet). By default router device never allow broadcast signal access through it. If you have DHCP serve and DHCP client and have router in the middle, your DHCP client won't be able to obtain an ip address from the your DHCP server. Because DHCP client will broadcast its signal to find DHCP server when its need to obtain an IP address. To solve this problem, you should use DHCP relay agent device which put in the middle of router and your DHCP client. But in your case, you use a modem as a DHCP server, so i'm not sure too.
Chandman wrote: 2. In our TCP/IP config we have our modem as "Preferred DNS" and our ISP DNS as "Alternate DNS". I am not sure if this is the way it should be. Seems like our Server is running DNS too. I don't know if I can disable it - though non of our computers are configured to look for DNS in the server (our local E510).
I'm not sure about this stage. How about using your ISP DNS as a primary DNS? DNS just help you in name resolution process, if you have DNS it is easy for your client in the network to access the resource in a local network and access to internet.
Chandman wrote: 3. When a domain user wants to log on to the their computer it asks if they want to lon on to the the local computer or the domain. I was just wondering what's the difference?
You have this option when you join your computer to a domain controller. Generally, for a stand a lone computer which is not connect to a network, when you log on to your computer your user name and password will authenticate with SAM database. If your type the correct user name and password, then you will grant to access the computer to gain the resource on that computer.
The difference between log on locally and log on to the network is the scope of accessing the resource on the local computer or on the network. If you are log on locally, you will be able to access the resource on your computer only because the user name and password is authenticat with a local SAM database. User document, profile, permission will apply on those specific computer. And network administrator will be difficult to manage resource and maintenance a network environment too. To log on to a domain, your user name and password will authenticate with SAM on the domain controller. User can access the resource on the server and network administrator also eash to manage a network from a central location. With client/server infrastructure, network administrator could be able to create a romaing profile, home folder, folder redirection, sharing resource... from the central with less administrative support.
Is this help you from your problem?
|
|
|
|
|
Thank you for your response Roath.
Roath Kanel wrote: Chandman wrote:
pro and couple of home editions
What do you mean by home edition? Is it windows xp home edition?
Yes we have Windows XP Professional and few Home editions aswell. But I found out that if I set the Workgroup same as our domain name, the computer becomes a part of the network.
Roath Kanel wrote: Chandman wrote:
1. Accessing people's shared folders became slower - sometimes up to a minute. Sometimes it goes really smooth
In my opinion, this issue relate to name resolution process... From here, i want to ask you a question, does your network have a DNS server? DNS server is the server that use to store a DNS name with IP address of each computer...
Yes. Our Windows Server 2000 runs a DNS server. How should I go about configuring it?
In our server - in the DNS console, I just noticed that we have our server ip address for the forward lookup zones. But we don't have anything in the reverse lookup zones. Is that an issue?
I am also thinking that I should set all computer's preffered DNS to our server - not our modem. But I have to have some way to forward that to our gateway if it's outgoing request outside of our LAN. So I'm not so sure on this eigther.
About router: I've seen many people having a [ WAN - modem - router - switch - computers] set up. Though, our current configuration is set up in a way that we don't have a router in between our switch and modem - therefore our modem is acting like a router, hosting DHCP, and acting as a DNS.
I feel like having it set up so that when the sub netmask is 255.255.255.0 forward it to our server (DNS) else forward it to our modem or directly to our ISP DNS server. But I'm not sure about how to do it and whether I should do it.
Other thing that might be useful to know is that in some room we have 2 person working in there and they share the connection via hub. It's kind of expensive for us to replace all those hubs with small switches just to test, because once again we're non-profit.
PS: Our internet works fine though - no one's complaining about the internet speed.
Thank you again for all your replies so far.
Chandman
-- modified at 14:14 Friday 9th June, 2006
|
|
|
|
|
Chandman wrote: Thank you for your response Roath.
My name is Kanel, Please call me Kanl.
Chandman wrote: Yes we have Windows XP Professional and few Home editions aswell. But I found out that if I set the Workgroup same as our domain name, the computer becomes a part of the network.
If you have windows xp home edition, you won't be able to join your computer to a domain controller. It doesn't mean you put the same name and you contact communicate with each other. Whether you put a difference name, you still communicate with them but you will see a workgroup and a domain in My network place in your computer. Difference between workgroup and client/server is the way that network administrator manage the network resource.
Chandman wrote: Yes. Our Windows Server 2000 runs a DNS server. How should I go about configuring it?
In our server - in the DNS console, I just noticed that we have our server ip address for the forward lookup zones. But we don't have anything in the reverse lookup zones. Is that an issue?
I am also thinking that I should set all computer's preffered DNS to our server - not our modem. But I have to have some way to forward that to our gateway if it's outgoing request outside of our LAN. So I'm not so sure on this eigther.
There are many step to promote your standa alone server to become a primary domain controller. You have to configure, static IP address, DNS, configure friendly name, install DNS component and create forward look zone and revers look up zone (there is more technical detail to create these zone), test DNS service whether your configure properly then finally promote your stand alone server by typing DCPROMO command from the run dialog box.
I recommend you to read this aritlce[^] to gain more knowledge about managing your network environment.
Chandman wrote: About router: I've seen many people having a [ WAN - modem - router - switch - computers] set up. Though, our current configuration is set up in a way that we don't have a router in between our switch and modem - therefore our modem is acting like a router, hosting DHCP, and acting as a DNS.
I feel like having it set up so that when the sub netmask is 255.255.255.0 forward it to our server (DNS) else forward it to our modem or directly to our ISP DNS server. But I'm not sure about how to do it and whether I should do it.
According to an information that you give to me, i think you have an Internet Connection Sharing (ICS) by using dialup network because you use a modem device. When you are using ICS to share your internet, the share connection on the machine that share an internet will have a small built-in software call mini DHCP server and set its own ip address to 192.168.0.1 (i'm not sure about this number too) and the client need to change an ip address in the form of 192.168.0.x (where x is > 1 and <= 254).
Chandman wrote: Other thing that might be useful to know is that in some room we have 2 person working in there and they share the connection via hub. It's kind of expensive for us to replace all those hubs with small switches just to test, because once again we're non-profit.
PS: Our internet works fine though - no one's complaining about the internet speed.
Thank you again for all your replies so far.
Chandman
In my opinion, I suggest you to read a book or article that is relate to networking as much as possible. I found that you need to update your knowledge to keep your work more productive in your network environment. If possible you should take a training course to fullfill you knowledge. We are here in code project just help you in a specific problem or need only, could not guild you from the beginning until the end. Another ways practic a lot also help you improve your knowledge and experience too.
I wish you success with your work and if you have any problem don't forget to post the question in this forum. I or the other people will help you as much as possible.
Thank you and good luck
|
|
|
|
|
Roath Kanel wrote: There are many step to promote your standa alone server to become a primary domain controller. You have to configure, static IP address, DNS, configure friendly name, install DNS component and create forward look zone and revers look up zone (there is more technical detail to create these zone), test DNS service whether your configure properly then finally promote your stand alone server by typing DCPROMO command from the run dialog box.
our server is already DC. running DNS. has an static IP address. DHCP is working completely fine from our "DSL" Modem (supposedly our router). I am confident with the set up. I am just more concerned about the speed and I think there's just a little trick I have to do to get the accessing speed of shared files accross the network boosted up.
I'll read those articles. Thank you again for all your help.
Chandman
|
|
|
|
|
Chandman wrote: I am just more concerned about the speed and I think there's just a little trick I have to do to get the accessing speed of shared files accross the network boosted up.
Try to do your own benchmark about internet connection speed and contact to ISP about an internet connection speed.
|
|
|
|
|
Chandman wrote: I think there's just a little trick I have to do to get the accessing speed of shared files accross the network boosted up
Another solution that you should take a look at is configuring Host file[^] in your network.
|
|
|
|
|
Hi Chandman.
First: 1 Server and 20 computers seems absolutely reasonable. Especially with the server specs you posted.
On 1:
If you are in a single collision domain (network using hubs) you might be experiencing the effect of high load on such a kind of network.
If you have seperate collision domains (network using switches), try enabling auto-negotiation for link-speed and -mode (i.e. "MBit/s" and "Duplex-Type").
Also check that everyone is in the same network (IP-network, i.e. everyones addresses are between 192.168.0.1 and 192.168.0.254).
I do not think that splitting your network and putting a router in between is gonna help you very much.
On 2:
Btw, your modem seems to be a router. Otherwise, it would probably not have an IP address at all. If it also has a DHCP-server, see that only one is running (modem/router or server), two might cause some trouble.
If you want to use your server for DNS and DHCP, disable DHCP in the router and configure the server to look-up any unknown address via router / ISP-DNS. The clients should then be set to use the server for DNS.
On 3:
The domain. Otherwise, the user might have to authenticate with the domain each time he tries to access a certain service. Plus, the advantage of being in a domain is that - if you store profiles on the domain server - users can work on any computer they log in to. They still will get a profile and "My Documents" on the machine they are working with, but - of course - the "Documents"-folder will not "follow them" from one computer to the next. But, then, they probably are gonna be working on one machine most of the time, anyway.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|