You have probably noticed by now that you cann'tUninstall TCP/IP on Windows XP but to reset the stackyou can use the following command. To do this open up a dos window.
START>RUN>CMD then press enter and type the following command
netsh interface ip reset c:reset.txt
Now if you had any manual settings you will have to reset those.
Monday, October 20, 2008
Thursday, October 9, 2008
Net Use with a password?
Okay so today I get a call from one of my guys who needs to map a drive in a batch script. No big deal just use the following......
net use z: \\server\share
boom no big deal.... then he came back with.....I need to give it a user name and password
net use z: \\servername\share password /user:username
Now if you put that in a batch file it password is in plain text so that is not very secure at all.
net use z: \\server\share
boom no big deal.... then he came back with.....I need to give it a user name and password
net use z: \\servername\share password /user:username
Now if you put that in a batch file it password is in plain text so that is not very secure at all.
Wednesday, October 8, 2008
What I do.
I am an IT professional. So I am always having to find ways to do new things. Some of which are pretty useful, but since I seldom use I forget. Then I have to figure it out all over again. So I am going to start posting my ways to complete certain things here then I should always have them. In the end it should make me more efficient and maybe help someone else too.
Subscribe to:
Posts (Atom)