How to setup workgroup domain environment in windows
Environment - It is the set of connection in which we try to perform the task.
This help our operating system to work in the surroundings and lets the user
do the task.
By default our operating system works on
workgroup.
There are two members of operating system -
1) workgroup
2) Domain
Workgroup Enviornment?
A workgroup is a basic network model in windows basic system where
computers and connected to peer peer (p2p) network.
Used in
small network (eg home, or small office) where is
computer operated independently without a centralised server for
management.
Key features
1) No centralized administrator
-- Each computer has
its own user account and its security setting.
-- User must
manually create accounts on each system they need access to.
2) Peer to Peer Networking
-- Computer work group acts as both client and server.
--
File and printer can be shared without dedicated server.
3) Limited to small network
-- Suitable for 10 to 20 computers
-- Does not
well scale for large enterprises.
4) Independent security management
-- No centralise authentication like active directory
--
Users must login separately on each machine
5) Simple set up and maintenance
-- No need for domain controller on specialised IT staff
--
Cost home networks and small business
Advantages -
- Simplicity
- No-central server
- Flexiability
- Decentralization
- Easy sharing
Disadvantages
- Scalability Issues
- Security concern
- no central backup
- administrative overhead
- inconsitent settings
Lets do practical -
Practical on workgroup - we are going to have 2 virutal machine over windows
10 pro OS.
Deploying of Workgroup in that state -
- On public network (PAN-Private Area Network)
- Sharing file in public network
- Establishing private network (offline)
- Sharing file in private network
First we can see that we have two machine like first one is "windows 10
x64" and second one is "clone windows 10 x64"
Both machine are working in work-group :
Now we will test both machine's IP reachable to each other or not.
NOTE - windows 10 x64 - Denote as an Administrator
NOTE - clone of windows 10 x64 - Denote as an UserA
-- ipconfig (administrator) IP is 192.168.30.129
-- ipconfig (userA) IP is 192.168.30.131
If we will check administrator's IP is reachable or not - so check it for this
cmd ping 192.168.30.129 in userA account But as of now not accessible or request time out.
same as it If we will check UserA's IP is reachable or not - so check it
for this cmd ping 192.168.30.131 in administrator account But as of now not accessible or request time out.
So why it is coming like that because of internal connectivity is blocking so for this we will fix it by run cmd > win + r > and type "firewall.cpl" and hit enter
now if we will check in userA account with the help
of administrator account's IP with this
cmd ping 192.168.30.129
Now as it as same disable the firewall in userA account
now it is working ping request (ping 192.168.30.129) in administrator account.
File Sharing
For file sharing in same network we will create folder first
in administrator account > go to file's properties > go
to "sharing" > and click on share.. button.
Now add everyone
and give permission "Read/Write"
click on "share" button
then check on checkbox folder > then click on permission button
then go to advance sharing
then allow all permission and check on checkbox > click OK.
In userA account you can access via win + r run command with the help of administrator account's IP ( //192.168.30.129 ) and hit enter.
If you want you can setup this network at one time then whenever you
want you can access it like for this > right click
on network > map network drive
then type administrator account's IP (\\192.168.30.129\file-sharing) > finish.
Now you are able to file sharing to each other in same network (but different
account like first one is actual windows 10 x64 and second one is clone of
windows 10 x64)
NOTE - if in case it will ask for username & password then
simple you can provide
File Sharing in Private Network
File sharing in a private network (like a home or office LAN) involves
configuring network settings to allow discovery and sharing, then sharing
specific folders with defined permissions (Read/Write),
For this we will go first VMware administrator account' setting .
then go to network adapter section and set custom : specific virtual network and select vmnet4 > then press OK.
same as it as we will do in userA VMware's setting.
After completing this setting type win + r and
type ncpa.cpl and press OK > then right
click on Ethernet0 and go to properties.
then uncheck the IPv6 box > then check on IP4 checkbox > then double click on IPv4
then click on "use the following IP address" >
then type IP like 192.168.1.2 then when
click on subnet mask column it will automatically
assign subnet mask < OK < OK.
then if you will check in administrator's IP in cmd
prompt (ipconfig). so as you can see here IP is 192.168.1.2
Now as it as repeat in userA account.
then if you will check in userA's IP in cmd
prompt (ipconfig). so as you can see here IP is 192.168.1.3
Now you can ping request in each account like that below
image you can see in administrator account
You can setup this network at one time then whenever you want you
can access it like for this > right click
on network > map network drive and simple
//IP/folder-name
Disclaimer
All tutorials are for informational and educational purposes only and have
been made using our own routers, servers, websites and other vulnerable free
resources. we do not contain any illegal activity. We believe that ethical
hacking, information security and cyber security should be familiar subjects
to anyone using digital information and computers. Hacking Truth is against
misuse of the information and we strongly suggest against it. Please regard
the word hacking as ethical hacking or penetration testing every time this
word is used. We do not promote, encourage, support or excite any illegal
activity or hacking.